switch year

This commit is contained in:
Benjamin Takats
2022-12-15 19:28:04 +01:00
parent 04b28b924d
commit 1857269b38
4 changed files with 25 additions and 13 deletions

View File

@@ -74,8 +74,9 @@ class BitcoinEventTable extends DataTableComponent
public function builder(): Builder
{
return BitcoinEvent::query()
->where(fn($query) => $query->whereHas('venue.city.country',
fn($query) => $query->where('code', $this->country))
->orWhere('show_worldwide', true));
->where(fn($query) => $query
->whereHas('venue.city.country',
fn($query) => $query->where('code', $this->country))
->orWhere('show_worldwide', true));
}
}