Add:Book library filter for Share Open

This commit is contained in:
advplyr 2024-07-04 15:45:47 -05:00
parent d5f991ae4a
commit 277ff8a5a5
3 changed files with 11 additions and 0 deletions

View file

@ -412,6 +412,11 @@ module.exports = {
model: Database.feedModel,
required: true
})
} else if (filterGroup === 'share-open') {
bookIncludes.push({
model: Database.mediaItemShareModel,
required: true
})
} else if (filterGroup === 'ebooks' && filterValue === 'supplementary') {
// TODO: Temp workaround for filtering supplementary ebook
libraryItemWhere['libraryFiles'] = {