mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-24 01:39:24 +02:00
Added limit 10 to getAuthorsWithCount() call
As per nichwall's request
This commit is contained in:
parent
95cdb23efb
commit
7229cfce84
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue