This commit is contained in:
salam committed 2026-08-29 19:19:14 +02:00
1 parent be4a08982e
commit f6f898c207
1 file changed
+2 -1
@@ -13,7 +13,6 @@ class LoadSeasons
$res = StatistikoEvent::where('league_id', $league_id) $res = StatistikoEvent::where('league_id', $league_id)
->groupBy('season') ->groupBy('season')
->orderBy('starttime', 'ASC')
->get(); ->get();
if (! $res) { if (! $res) {
@@ -25,6 +24,8 @@ class LoadSeasons
$arr[$val->season] = $val->season; $arr[$val->season] = $val->season;
} }
sort($arr);
return $arr; return $arr;
} }
} }