mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
events renamed to course events
This commit is contained in:
@@ -52,7 +52,7 @@ class VenueTable extends DataTableComponent
|
||||
->collapseOnMobile(),
|
||||
Column::make('Termine')
|
||||
->label(
|
||||
fn($row, Column $column) => $row->events_count
|
||||
fn($row, Column $column) => $row->course_events_count
|
||||
)
|
||||
->collapseOnMobile(),
|
||||
Column::make('')
|
||||
@@ -66,7 +66,7 @@ class VenueTable extends DataTableComponent
|
||||
{
|
||||
return Venue::query()
|
||||
->withCount([
|
||||
'events',
|
||||
'courseEvents',
|
||||
])
|
||||
->whereHas('city.country', fn($query) => $query->where('code', $this->country));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user