Browse Source
Merge pull request #7117 from Budibase/fix/lucene-pagination
Insert table ID back into query for follow-up pagination query
pull/7124/head
Andrew Kingston
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
packages/server/src/api/controllers/row/internalSearch.js
|
|
|
@ -423,6 +423,7 @@ exports.paginatedSearch = async (query, params) => { |
|
|
|
// Try fetching 1 row in the next page to see if another page of results
|
|
|
|
// exists or not
|
|
|
|
const nextResults = await search |
|
|
|
.setTable(params.tableId) |
|
|
|
.setBookmark(searchResults.bookmark) |
|
|
|
.setLimit(1) |
|
|
|
.run() |
|
|
|
|