Fix rest of the cover pages search filters

This commit is contained in:
DariusIII
2020-01-11 04:12:49 +01:00
parent 568ab937ca
commit 2c22e7a671
5 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class ConsoleController extends BasePageController
'title' => $ccat->title,
];
}
$category = Category::GAME_ROOT;
$category = $request->has('t') ? $request->input('t') : Category::GAME_ROOT;
if ($id && \in_array($id, Arr::pluck($ctmp, 'title'), false)) {
$cat = Category::query()
->where('title', $id)