mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
feat(VenueTable): remove country filter from venue query
Removed the filter that limits venue results to a specific country in the VenueTable. This change will provide results from all countries.
This commit is contained in:
@@ -79,7 +79,6 @@ class VenueTable extends DataTableComponent
|
|||||||
->withCount([
|
->withCount([
|
||||||
'courseEvents',
|
'courseEvents',
|
||||||
])
|
])
|
||||||
->whereHas('city.country', fn ($query) => $query->where('code', $this->country))
|
|
||||||
->orderByDesc('course_events_count')
|
->orderByDesc('course_events_count')
|
||||||
->orderBy('venues.id');
|
->orderBy('venues.id');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user