Update SearchController

This commit is contained in:
DariusIII
2020-01-08 04:08:42 +01:00
parent e8c2e09efc
commit deb1956ce0
+2 -2
View File
@@ -87,7 +87,7 @@ class SearchController extends BasePageController
$tags ?? []
);
$results = $this->paginate($rslt ?? [], $rslt[0]->_totalrows ?? 0, config('nntmux.items_per_page'), $page, $request->url(), $request->query());
$results = $this->paginate($rslt ?? [], $rslt[0]->_totalrows ?? 0, config('nntmux.items_per_page'), $page, request()->url(), request()->query());
$this->smarty->assign(
[
@@ -161,7 +161,7 @@ class SearchController extends BasePageController
[$searchVars['searchadvcat'] === '' ? -1 : $searchVars['searchadvcat']]
);
$results = $this->paginate($rslt ?? [], $rslt[0]->_totalrows ?? 0, config('nntmux.items_per_page'), $page, $request->url(), $request->query());
$results = $this->paginate($rslt ?? [], $rslt[0]->_totalrows ?? 0, config('nntmux.items_per_page'), $page, request()->url(), request()->query());
$this->smarty->assign(
[