Add missing version to paginated search endpoint
This commit is contained in:
parent
fa3cf585d7
commit
72061f341e
|
@ -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