mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 10:49:00 +02:00
Include library item podcast queries
This commit is contained in:
parent
eeaf012cdc
commit
95c4b3862b
7 changed files with 231 additions and 22 deletions
|
@ -207,7 +207,7 @@ class LibraryController {
|
|||
}
|
||||
payload.offset = payload.page * payload.limit
|
||||
|
||||
const { libraryItems, count } = await Database.models.libraryItem.getByFilterAndSort(req.library.id, req.user.id, payload)
|
||||
const { libraryItems, count } = await Database.models.libraryItem.getByFilterAndSort(req.library, req.user.id, payload)
|
||||
payload.results = libraryItems
|
||||
payload.total = count
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue