mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
autors overview
This commit is contained in:
@@ -17,6 +17,7 @@ class AuthorsOverview extends Component
|
|||||||
->withCount([
|
->withCount([
|
||||||
'libraryItems' => fn($query) => $query->where('library_items.news', true),
|
'libraryItems' => fn($query) => $query->where('library_items.news', true),
|
||||||
])
|
])
|
||||||
|
->orderByDesc('library_items_count')
|
||||||
->get(),
|
->get(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user