feat: ✨ order brands by libMarq in brands.index
This commit is contained in:
parent
91c0aa2f9a
commit
f3060ed3bf
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class BrandController extends Controller
|
|||
$user = auth()->user();
|
||||
$user->authorizeRoles(config('roles.const.ADMIN'));
|
||||
|
||||
$brands = Marque::all();
|
||||
$brands = Marque::query()->orderBy('libMarq')->get();
|
||||
return view('brands.index')->with([
|
||||
'brands' => $brands
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue