mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
lecturer cource events
This commit is contained in:
@@ -85,6 +85,7 @@ class LecturerTable extends DataTableComponent
|
||||
return Lecturer::query()
|
||||
->withCount([
|
||||
'courses',
|
||||
'coursesEvents',
|
||||
'libraryItems' => fn($query) => $query->where('news', false)
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user