This commit is contained in:
HolgerHatGarKeineNode
2023-04-28 11:06:39 +02:00
parent 9506389575
commit 938ed12b38

View File

@@ -108,7 +108,7 @@ class MeetupEventTable extends DataTableComponent
public function builder(): Builder public function builder(): Builder
{ {
return MeetupEvent::query() return MeetupEvent::query()
->where('meetup_events.start', '>=', now()) ->where('meetup_events.start', '>=', now()->subDay())
->whereHas('meetup.city.country', fn ($query) => $query->where('code', $this->country)) ->whereHas('meetup.city.country', fn ($query) => $query->where('code', $this->country))
->with([ ->with([
'meetup.city.country', 'meetup.city.country',