Skip to content

Commit

Permalink
Fix:Missing narrators library filter
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Sep 9, 2023
1 parent 98d9fd8 commit 6822628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/queries/libraryItemsBookFilters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
}
Expand Down

0 comments on commit 6822628

Please sign in to comment.