greater than now

This commit is contained in:
Benjamin Takats
2022-12-19 11:38:11 +01:00
parent fafedad9d2
commit af91aa5498
2 changed files with 4 additions and 0 deletions

View File

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