mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-10 14:52:51 +02:00
Fix:Missing narrators library filter
This commit is contained in:
@@ -211,7 +211,7 @@ module.exports = {
|
|||||||
mediaWhere[key] = {
|
mediaWhere[key] = {
|
||||||
[Sequelize.Op.or]: [null, '']
|
[Sequelize.Op.or]: [null, '']
|
||||||
}
|
}
|
||||||
} else if (['genres', 'tags', 'narrator'].includes(value)) {
|
} else if (['genres', 'tags', 'narrators'].includes(value)) {
|
||||||
mediaWhere[value] = {
|
mediaWhere[value] = {
|
||||||
[Sequelize.Op.or]: [null, Sequelize.where(Sequelize.fn('json_array_length', Sequelize.col(value)), 0)]
|
[Sequelize.Op.or]: [null, Sequelize.where(Sequelize.fn('json_array_length', Sequelize.col(value)), 0)]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user