Fix:Missing narrators library filter

This commit is contained in:
advplyr 2023-09-09 15:46:33 -05:00
parent 98d9fd8c32
commit 6822628994

View File

@ -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)]
}