mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
map for events
This commit is contained in:
@@ -30,7 +30,7 @@ class BitcoinEventTable extends Component
|
|||||||
])
|
])
|
||||||
->where(fn($query) => $query
|
->where(fn($query) => $query
|
||||||
->whereHas('venue.city.country',
|
->whereHas('venue.city.country',
|
||||||
fn($query) => $query->where('code', $this->country->code))
|
fn($query) => $query->where('countries.code', $this->country->code))
|
||||||
->orWhere('show_worldwide', true)
|
->orWhere('show_worldwide', true)
|
||||||
)
|
)
|
||||||
->get()
|
->get()
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ class BitcoinEventTable extends DataTableComponent
|
|||||||
->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))
|
||||||
->orWhere('show_worldwide', true));
|
->orWhere('show_worldwide', true)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user