feat: ✨ order brands by libMarq in brands.index

This commit is contained in:
Noah Lancien 2026-05-13 17:17:21 +02:00
parent 91c0aa2f9a
commit f3060ed3bf

View file

@ -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
]);