mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
sort
This commit is contained in:
@@ -75,9 +75,8 @@ class MeetupTable extends DataTableComponent
|
||||
->withCount([
|
||||
'users',
|
||||
'meetupEvents' => fn($query) => $query->where('start', '>=', now()),
|
||||
|
||||
])
|
||||
->orderBy('meetup_events_count', 'desc');
|
||||
->when($this->country, fn($query) => $query->orderBy('meetup_events_count', 'desc'));
|
||||
}
|
||||
|
||||
public function meetupEventSearch($id)
|
||||
|
||||
Reference in New Issue
Block a user