Skip to content

Commit

Permalink
fix for explorer data grid not paginating (opensearch-project#1139) (o…
Browse files Browse the repository at this point in the history
…pensearch-project#1140)

(cherry picked from commit 7f6b95e)

Signed-off-by: Paul Sebastian <paulstn@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent a151236 commit 276834d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/components/event_analytics/explorer/explorer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export const Explorer = ({
explorerFields={explorerFields}
timeStampField={queryRef.current![SELECTED_TIMESTAMP]}
rawQuery={appBasedRef.current || queryRef.current![RAW_QUERY]}
totalHits={explorerData?.datarows?.length || 0}
totalHits={_.sum(countDistribution.data['count()'])}
requestParams={requestParams}
startTime={appLogEvents ? startTime : dateRange[0]}
endTime={appLogEvents ? endTime : dateRange[1]}
Expand Down

0 comments on commit 276834d

Please sign in to comment.