mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-23 01:09:26 +02:00
Handle sorting when collapsing by series and filtering by series on library page
This commit is contained in:
parent
826963bf00
commit
9e13c64408
2 changed files with 50 additions and 11 deletions
|
@ -259,6 +259,12 @@ class LibraryController {
|
|||
return res.json(libraryJson)
|
||||
}
|
||||
|
||||
/**
|
||||
* GET /api/libraries/:id/items
|
||||
*
|
||||
* @param {import('express').Request} req
|
||||
* @param {import('express').Response} res
|
||||
*/
|
||||
async getLibraryItems(req, res) {
|
||||
const include = (req.query.include || '').split(',').map(v => v.trim().toLowerCase()).filter(v => !!v)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue