mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2026-01-26 10:23:17 +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