From 9edaac8be9585640d2f56c12233f724d39658599 Mon Sep 17 00:00:00 2001 From: Adam Tackett <105462877+TackAdam@users.noreply.github.com> Date: Fri, 30 Jun 2023 09:51:09 -0700 Subject: [PATCH] Merge pull request #587 from TackAdam/appBugFix [BugFix] Application Analytics - Save Visualization Missing Index (cherry picked from commit 5fea6abec854b2eb757c54fc3a77b62a43b79563) Signed-off-by: TackAdam (cherry picked from commit d152aa463dc973841170a0351fd46ca0fd52532f) --- auto_sync_commit_metadata.json | 4 ++-- public/components/event_analytics/explorer/explorer.tsx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/auto_sync_commit_metadata.json b/auto_sync_commit_metadata.json index 8121808cf..b03046154 100644 --- a/auto_sync_commit_metadata.json +++ b/auto_sync_commit_metadata.json @@ -1,4 +1,4 @@ { - "last_github_commit": "d329eff0da34b24eaf8b68ba9bf29f049eee8b6a", - "last_gitfarm_commit": "f7b80edfa09ffc45ce2dd8165f5c6b2f31cc8ed6" + "last_github_commit": "d152aa463dc973841170a0351fd46ca0fd52532f", + "last_gitfarm_commit": "eb4b787fe91dd7a5126470ba5d842d72b23717f2" } \ No newline at end of file diff --git a/public/components/event_analytics/explorer/explorer.tsx b/public/components/event_analytics/explorer/explorer.tsx index a321b3bee..9ceaaa9f4 100644 --- a/public/components/event_analytics/explorer/explorer.tsx +++ b/public/components/event_analytics/explorer/explorer.tsx @@ -74,6 +74,7 @@ import { } from '../../../../common/types/explorer'; import { buildQuery, + buildRawQuery, getIndexPatternFromRawQuery, uiSettingsService, } from '../../../../common/utils'; @@ -739,7 +740,7 @@ export const Explorer = ({ savingTitle: string ) => { return { - query: queryState[RAW_QUERY], + query: buildRawQuery(query, appBaseQuery), fields: fields[SELECTED_FIELDS], dateRange: queryState[SELECTED_DATE_RANGE], name: savingTitle,