From 3dc18ae650073a07219d187745f2dc755f71b6c3 Mon Sep 17 00:00:00 2001 From: TCHOUKOUAHA Boris Gautier Date: Thu, 23 Nov 2023 12:40:37 +0100 Subject: [PATCH] update oder osc --- app/Http/Controllers/Api/OddController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Api/OddController.php b/app/Http/Controllers/Api/OddController.php index c400d0e..7429a17 100644 --- a/app/Http/Controllers/Api/OddController.php +++ b/app/Http/Controllers/Api/OddController.php @@ -25,7 +25,7 @@ class OddController extends BaseController */ public function index() { - $odds = Odd::all(); + $odds = Odd::orderBy('id','asc')->get(); foreach ($odds as $odd) { $odd->categorieOdd;