From 9dd8818a53487fce9cc6fda38051429275ebd145 Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 8 Nov 2023 21:31:24 +0000 Subject: [PATCH] Revert "fix for explorer data grid not paginating (#1139) (#1141)" This reverts commit c5ead50dd6e69beef90db951ecd9868f29650ded. Signed-off-by: Eric --- public/components/event_analytics/explorer/explorer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/components/event_analytics/explorer/explorer.tsx b/public/components/event_analytics/explorer/explorer.tsx index 0f60b71c51..e20f288fa4 100644 --- a/public/components/event_analytics/explorer/explorer.tsx +++ b/public/components/event_analytics/explorer/explorer.tsx @@ -577,7 +577,7 @@ export const Explorer = ({ explorerFields={explorerFields} timeStampField={queryRef.current![SELECTED_TIMESTAMP]} rawQuery={appBasedRef.current || queryRef.current![RAW_QUERY]} - totalHits={_.sum(countDistribution.data['count()'])} + totalHits={explorerData?.datarows?.length || 0} requestParams={requestParams} startTime={appLogEvents ? startTime : dateRange[0]} endTime={appLogEvents ? endTime : dateRange[1]}