* Fix pagination in the new search
* update betterer betterer betterer betterer betterer betterer
* revert packagejson
(cherry picked from commit c496b3e712)
This commit is contained in:
@@ -128,7 +128,18 @@ async function doSearchQuery(query: SearchQuery): Promise<QueryResponse> {
|
||||
const frame = (
|
||||
await lastValueFrom(
|
||||
ds.query({
|
||||
targets: [{ ...target, refId: 'Page', facet: undefined, from, limit: Math.max(limit, nextPageSizes) }],
|
||||
targets: [
|
||||
{
|
||||
...target,
|
||||
search: {
|
||||
...(target?.search ?? {}),
|
||||
from,
|
||||
limit: Math.max(limit, nextPageSizes),
|
||||
},
|
||||
refId: 'Page',
|
||||
facet: undefined,
|
||||
},
|
||||
],
|
||||
} as any)
|
||||
)
|
||||
).data?.[0] as DataFrame;
|
||||
|
||||
Reference in New Issue
Block a user