map for events

This commit is contained in:
Benjamin Takats
2022-12-15 19:58:51 +01:00
parent 357563a078
commit ffe6cc877f
2 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ class BitcoinEventTable extends Component
])
->where(fn($query) => $query
->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)
)
->get()