mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-17 06:11:16 +01:00
Added limit 10 to getAuthorsWithCount() call
As per nichwall's request
This commit is contained in:
1 parent
95cdb23efb
commit
7229cfce84
1 file changed
+1
-1
@@ -605,7 +605,7 @@ class LibraryController {
|
||||
}
|
||||
|
||||
if (req.library.isBook) {
|
||||
const authors = await authorFilters.getAuthorsWithCount(req.library.id)
|
||||
const authors = await authorFilters.getAuthorsWithCount(req.library.id, 10)
|
||||
const genres = await libraryItemsBookFilters.getGenresWithCount(req.library.id)
|
||||
const bookStats = await libraryItemsBookFilters.getBookLibraryStats(req.library.id)
|
||||
const longestBooks = await libraryItemsBookFilters.getLongestBooks(req.library.id, 10)
|
||||
|
||||
Reference in new issue
Block a user