mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-19 07:08:41 +01:00
Fix:Missing narrators library filter
This commit is contained in:
1 parent
98d9fd8c32
commit
6822628994
1 file changed
+1
-1
@@ -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)]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user