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
@@ -32,7 +32,7 @@ class MusicController extends BasePageController
];
}
$category = Category::MUSIC_ROOT;
$category = $request->has('t') ? $request->input('t') : Category::MUSIC_ROOT;
if ($id && \in_array($id, Arr::pluck($mtmp, 'title'), false)) {
$cat = Category::query()
->where('title', $id)