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',
|
'users',
|
||||||
'city.country',
|
'city.country',
|
||||||
'meetupEvents',
|
'meetupEvents',
|
||||||
])
|
]);
|
||||||
->withCount([
|
// ->withCount([
|
||||||
'users',
|
// 'users',
|
||||||
'meetupEvents' => fn($query) => $query->where('start', '>=', now()),
|
// 'meetupEvents' => fn($query) => $query->where('start', '>=', now()),
|
||||||
])
|
// ])
|
||||||
->when($this->country, fn($query) => $query->orderBy('meetup_events_count', 'desc'));
|
//->when($this->country, fn($query) => $query->orderBy('meetup_events_count', 'desc'));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function meetupEventSearch($id)
|
public function meetupEventSearch($id)
|
||||||
|
|||||||
Reference in New Issue
Block a user