From f3060ed3bfdf6f273070b7b8646716799699bc28 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Wed, 13 May 2026 17:17:21 +0200 Subject: [PATCH] feat: :sparkles: order brands by libMarq in brands.index --- app/Http/Controllers/BrandController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/BrandController.php b/app/Http/Controllers/BrandController.php index 78780fe..7878044 100644 --- a/app/Http/Controllers/BrandController.php +++ b/app/Http/Controllers/BrandController.php @@ -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 ]);