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([
|
->with([
|
||||||
'venue.city.country'
|
'venue.city.country'
|
||||||
])
|
])
|
||||||
|
->where('bitcoin_events.from', '>=', now())
|
||||||
->where(fn($query) => $query
|
->where(fn($query) => $query
|
||||||
->whereHas('venue.city.country',
|
->whereHas('venue.city.country',
|
||||||
fn($query) => $query->where('code', $this->country))
|
fn($query) => $query->where('code', $this->country))
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ class MeetupEventTable extends DataTableComponent
|
|||||||
public function builder(): Builder
|
public function builder(): Builder
|
||||||
{
|
{
|
||||||
return MeetupEvent::query()
|
return MeetupEvent::query()
|
||||||
|
->where('meetup_events.start', '>=', now())
|
||||||
->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',
|
'meetup',
|
||||||
|
|||||||
Reference in New Issue
Block a user