This commit is contained in:
HolgerHatGarKeineNode
2023-04-28 11:12:54 +02:00
parent 938ed12b38
commit b76a810da5
2 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ class MeetupEventTable extends Component
->with([
'meetup.city.country',
])
->where('meetup_events.start', '>=', now())
->where('meetup_events.start', '>=', now()->subDay())
->whereHas('meetup.city.country',
fn ($query) => $query->where('countries.code', $this->country->code))
->get()
@@ -47,7 +47,7 @@ class MeetupEventTable extends Component
->with([
'meetup.city.country',
])
->where('meetup_events.start', '>=', now())
->where('meetup_events.start', '>=', now()->subDay())
->whereHas('meetup.city.country',
fn ($query) => $query->where('countries.code', $this->country->code))
->get()