mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
greater than now
This commit is contained in:
@@ -71,7 +71,7 @@ class MeetupTable extends DataTableComponent
|
||||
return Meetup::query()
|
||||
->whereHas('city.country', fn($query) => $query->where('code', $this->country))
|
||||
->withCount([
|
||||
'meetupEvents',
|
||||
'meetupEvents' => fn($query) => $query->where('start', '>=', now()),
|
||||
])
|
||||
->orderBy('meetup_events_count', 'desc');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user