diff --git a/server/controllers/LibraryController.js b/server/controllers/LibraryController.js index 30c9c0d9..0a0fb4d4 100644 --- a/server/controllers/LibraryController.js +++ b/server/controllers/LibraryController.js @@ -610,7 +610,7 @@ class LibraryController { const bookStats = await libraryItemsBookFilters.getBookLibraryStats(req.library.id) const longestBooks = await libraryItemsBookFilters.getLongestBooks(req.library.id, 10) - stats.totalAuthors = authors.length + stats.totalAuthors = await authorFilters.getAuthorsTotalCount(req.library.id) stats.authorsWithCount = authors stats.totalGenres = genres.length stats.genresWithCount = genres