Add missing version to paginated search endpoint
This commit is contained in:
parent
9f06b180a8
commit
0845bde7b4
|
@ -335,6 +335,7 @@ exports.paginatedSearch = async (appId, query, params) => {
|
||||||
}
|
}
|
||||||
limit = Math.min(limit, 200)
|
limit = Math.min(limit, 200)
|
||||||
const search = new QueryBuilder(appId, query)
|
const search = new QueryBuilder(appId, query)
|
||||||
|
.setVersion(params.version)
|
||||||
.setTable(params.tableId)
|
.setTable(params.tableId)
|
||||||
.setSort(params.sort)
|
.setSort(params.sort)
|
||||||
.setSortOrder(params.sortOrder)
|
.setSortOrder(params.sortOrder)
|
||||||
|
|
Loading…
Reference in New Issue