mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-19 00:18:56 +01:00
Added limit 10 to getAuthorsWithCount() call
As per nichwall's request
This commit is contained in:
parent
95cdb23efb
commit
7229cfce84
@ -605,7 +605,7 @@ class LibraryController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (req.library.isBook) {
|
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 genres = await libraryItemsBookFilters.getGenresWithCount(req.library.id)
|
||||||
const bookStats = await libraryItemsBookFilters.getBookLibraryStats(req.library.id)
|
const bookStats = await libraryItemsBookFilters.getBookLibraryStats(req.library.id)
|
||||||
const longestBooks = await libraryItemsBookFilters.getLongestBooks(req.library.id, 10)
|
const longestBooks = await libraryItemsBookFilters.getLongestBooks(req.library.id, 10)
|
||||||
|
Loading…
Reference in New Issue
Block a user