wip
This commit is contained in:
1 parent
be4a08982e
commit
f6f898c207
1 file changed
+2
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user