From f1a7fd0d5060e5b82fa9a133ab51dbf87f931870 Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 11 Sep 2023 17:51:39 -0500 Subject: [PATCH] Fix:Podcast library include number of incomplete episodes in home page shelf api request #2081 --- server/utils/queries/libraryFilters.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/utils/queries/libraryFilters.js b/server/utils/queries/libraryFilters.js index 2a1a2bc0..2d93ebaf 100644 --- a/server/utils/queries/libraryFilters.js +++ b/server/utils/queries/libraryFilters.js @@ -108,6 +108,9 @@ module.exports = { if (li.size && !oldLibraryItem.media.size) { oldLibraryItem.media.size = li.size } + if (li.numEpisodesIncomplete) { + oldLibraryItem.numEpisodesIncomplete = li.numEpisodesIncomplete + } return oldLibraryItem }), count