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