mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
greater than now
This commit is contained in:
@@ -89,6 +89,7 @@ class BitcoinEventTable extends DataTableComponent
|
||||
->with([
|
||||
'venue.city.country'
|
||||
])
|
||||
->where('bitcoin_events.from', '>=', now())
|
||||
->where(fn($query) => $query
|
||||
->whereHas('venue.city.country',
|
||||
fn($query) => $query->where('code', $this->country))
|
||||
|
||||
@@ -81,6 +81,7 @@ class MeetupEventTable extends DataTableComponent
|
||||
public function builder(): Builder
|
||||
{
|
||||
return MeetupEvent::query()
|
||||
->where('meetup_events.start', '>=', now())
|
||||
->whereHas('meetup.city.country', fn($query) => $query->where('code', $this->country))
|
||||
->with([
|
||||
'meetup',
|
||||
|
||||
Reference in New Issue
Block a user