mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-09-01 08:15:15 +02:00
Add:Book library filter for Share Open
This commit is contained in:
parent
d5f991ae4a
commit
277ff8a5a5
3 changed files with 11 additions and 0 deletions
|
@ -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'] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue