From a73b72a07b571507d7dd43e3ec5760640eb78e71 Mon Sep 17 00:00:00 2001 From: advplyr Date: Wed, 31 Aug 2022 16:45:50 -0500 Subject: [PATCH] Fix:No Series filter on book library #956 --- server/controllers/LibraryController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/server/controllers/LibraryController.js b/server/controllers/LibraryController.js index d9e30130..b2461a3a 100644 --- a/server/controllers/LibraryController.js +++ b/server/controllers/LibraryController.js @@ -165,6 +165,7 @@ class LibraryController { if (payload.filterBy) { // If filtering by series, will include seriesName and seriesSequence on media metadata filterSeries = (payload.mediaType == 'book' && payload.filterBy.startsWith('series.')) ? libraryHelpers.decode(payload.filterBy.replace('series.', '')) : null + if (filterSeries === 'No Series') filterSeries = null libraryItems = libraryHelpers.getFilteredLibraryItems(libraryItems, payload.filterBy, req.user, this.rssFeedManager.feedsArray) payload.total = libraryItems.length