Final changes
This commit is contained in:
@@ -18,7 +18,7 @@ class GenreController extends Controller
|
||||
{
|
||||
$items = Genre::withCount('games')
|
||||
->orderBy('name')
|
||||
->tap(fn($query) => $this->applySearch($query, ['name']))
|
||||
->tap(fn($query) => $this->applySearch($query, ['id','name']))
|
||||
->paginate(30)
|
||||
->withQueryString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user