diff --git a/app/Http/Livewire/Tables/BitcoinEventTable.php b/app/Http/Livewire/Tables/BitcoinEventTable.php index a07e7221..f4c06d57 100644 --- a/app/Http/Livewire/Tables/BitcoinEventTable.php +++ b/app/Http/Livewire/Tables/BitcoinEventTable.php @@ -74,7 +74,8 @@ class BitcoinEventTable extends DataTableComponent public function builder(): Builder { return BitcoinEvent::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)); } }