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