From 682262899401f75ec0da8c29b7ca4de8313de505 Mon Sep 17 00:00:00 2001 From: advplyr Date: Sat, 9 Sep 2023 15:46:33 -0500 Subject: [PATCH] Fix:Missing narrators library filter --- server/utils/queries/libraryItemsBookFilters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/queries/libraryItemsBookFilters.js b/server/utils/queries/libraryItemsBookFilters.js index 835781e1..10e1101d 100644 --- a/server/utils/queries/libraryItemsBookFilters.js +++ b/server/utils/queries/libraryItemsBookFilters.js @@ -211,7 +211,7 @@ module.exports = { mediaWhere[key] = { [Sequelize.Op.or]: [null, ''] } - } else if (['genres', 'tags', 'narrator'].includes(value)) { + } else if (['genres', 'tags', 'narrators'].includes(value)) { mediaWhere[value] = { [Sequelize.Op.or]: [null, Sequelize.where(Sequelize.fn('json_array_length', Sequelize.col(value)), 0)] }