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