Remove reference to a method no longer used.

This commit is contained in:
James Cole
2022-01-29 14:11:12 +01:00
parent acb2a8697a
commit 003d8ba02a
104 changed files with 219 additions and 256 deletions

View File

@@ -91,7 +91,7 @@ class SearchController extends Controller
$invalidOperators = $searcher->getInvalidOperators();
$subTitle = (string)trans('breadcrumbs.search_result', ['query' => $fullQuery]);
return prefixView('search.index', compact('query', 'operators', 'page', 'rule', 'fullQuery', 'subTitle', 'ruleId', 'ruleChanged', 'invalidOperators'));
return view('search.index', compact('query', 'operators', 'page', 'rule', 'fullQuery', 'subTitle', 'ruleId', 'ruleChanged', 'invalidOperators'));
}
/**
@@ -118,7 +118,7 @@ class SearchController extends Controller
$groups->setPath($url);
try {
$html = prefixView('search.search', compact('groups', 'hasPages', 'searchTime'))->render();
$html = view('search.search', compact('groups', 'hasPages', 'searchTime'))->render();
} catch (Throwable $e) { // @phpstan-ignore-line
Log::error(sprintf('Cannot render search.search: %s', $e->getMessage()));