lecturer cource events

This commit is contained in:
HolgerHatGarKeineNode
2023-03-28 13:13:39 +02:00
parent b80d9b9d00
commit 4534a57c02
6 changed files with 55 additions and 45 deletions

View File

@@ -85,6 +85,7 @@ class LecturerTable extends DataTableComponent
return Lecturer::query()
->withCount([
'courses',
'coursesEvents',
'libraryItems' => fn($query) => $query->where('news', false)
]);
}