This commit is contained in:
salam committed 2026-08-30 22:29:01 +02:00
1 parent 12d29d6a6b
commit ce4802f889
1 file changed
+5 -5
@@ -125,11 +125,11 @@ class LoadEventsQuery
})->when($end, function ($query) use ($end) { })->when($end, function ($query) use ($end) {
return $query->whereDate('starttime', '<=', $end); return $query->whereDate('starttime', '<=', $end);
}) })
// ->when($season, function ($query) use ($season, $season_or_date) { ->when($season, function ($query) use ($season, $season_or_date) {
// if ($season_or_date == 'season') { if ($season_or_date == 'season') {
// return $query->whereIn('season', $season); return $query->whereIn('season', $season);
// } }
// }) })
->orderBy('starttime', 'ASC') ->orderBy('starttime', 'ASC')
->get(); ->get();