Added limit 10 to getAuthorsWithCount() call

As per nichwall's request
This commit is contained in:
CoffeeKnyte 2024-05-01 07:20:48 -04:00 committed by GitHub
parent 95cdb23efb
commit 7229cfce84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)