From ec359541da318457a1509bf19732a1269cc4ac4c Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Thu, 6 Jun 2024 11:23:56 +0200 Subject: [PATCH] Fix bug, use name instead of id --- .../public/actions/filters/create_filters_from_value_click.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts b/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts index 3814731458452..418d8080a3904 100644 --- a/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts +++ b/src/plugins/data/public/actions/filters/create_filters_from_value_click.ts @@ -182,7 +182,7 @@ export const appendFilterToESQLQueryFromValueClickAction = ({ const queryString = query.esql; queryWithFilter = appendWhereClauseToESQLQuery( queryString, - column.id, + column.name, value, '+', column.meta?.type