From f6f898c20768b1b174444e4a48413ca4a824d7b5 Mon Sep 17 00:00:00 2001 From: salam Date: Sat, 29 Aug 2026 19:19:14 +0200 Subject: [PATCH] wip --- app/Filament/Pages/Selections/LoadSeasons.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Filament/Pages/Selections/LoadSeasons.php b/app/Filament/Pages/Selections/LoadSeasons.php index 8171fa15..4f8e9021 100644 --- a/app/Filament/Pages/Selections/LoadSeasons.php +++ b/app/Filament/Pages/Selections/LoadSeasons.php @@ -13,7 +13,6 @@ class LoadSeasons $res = StatistikoEvent::where('league_id', $league_id) ->groupBy('season') - ->orderBy('starttime', 'ASC') ->get(); if (! $res) { @@ -25,6 +24,8 @@ class LoadSeasons $arr[$val->season] = $val->season; } + sort($arr); + return $arr; } }