mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Fix:Get all items api endpoint support providing no limit #2067
This commit is contained in:
parent
e2cca60853
commit
98d9fd8c32
@ -566,7 +566,7 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
order: sortOrder,
|
order: sortOrder,
|
||||||
subQuery: false,
|
subQuery: false,
|
||||||
limit,
|
limit: limit || null,
|
||||||
offset
|
offset
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -166,7 +166,7 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
order: this.getOrder(sortBy, sortDesc),
|
order: this.getOrder(sortBy, sortDesc),
|
||||||
subQuery: false,
|
subQuery: false,
|
||||||
limit,
|
limit: limit || null,
|
||||||
offset
|
offset
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user