Fix:No Series filter on book library #956

This commit is contained in:
advplyr 2022-08-31 16:45:50 -05:00
parent 8ec4bd4279
commit a73b72a07b

View File

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