From 39b6ede1e917162feb964d044de8e254f0de596e Mon Sep 17 00:00:00 2001 From: advplyr Date: Fri, 8 Sep 2023 11:20:22 -0500 Subject: [PATCH] Add support for hide from continue listening --- server/utils/queries/libraryItemsBookFilters.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/utils/queries/libraryItemsBookFilters.js b/server/utils/queries/libraryItemsBookFilters.js index 7ee1f0fb..f4634362 100644 --- a/server/utils/queries/libraryItemsBookFilters.js +++ b/server/utils/queries/libraryItemsBookFilters.js @@ -648,6 +648,9 @@ module.exports = { const { rows: series, count } = await Database.seriesModel.findAndCountAll({ where: [ { + id: { + [Sequelize.Op.notIn]: user.seriesHideFromContinueListening + }, libraryId }, // TODO: Simplify queries