mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-31 08:14:40 +02:00
Fix:Get all items api endpoint support providing no limit #2067
This commit is contained in:
parent
e2cca60853
commit
98d9fd8c32
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue