From 6e39ea5e46ef47dbd98ec99f9c7b7559a337010c Mon Sep 17 00:00:00 2001 From: Kristina Date: Tue, 15 Oct 2024 10:26:44 -0500 Subject: [PATCH] Transformations: Add description to what is searched (#94501) Add transformation description to what is searched --- .../panel-edit/PanelDataPane/TransformationsDrawer.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/panel-edit/PanelDataPane/TransformationsDrawer.tsx b/public/app/features/dashboard-scene/panel-edit/PanelDataPane/TransformationsDrawer.tsx index cb0528e144f..d05523febdd 100644 --- a/public/app/features/dashboard-scene/panel-edit/PanelDataPane/TransformationsDrawer.tsx +++ b/public/app/features/dashboard-scene/panel-edit/PanelDataPane/TransformationsDrawer.tsx @@ -51,7 +51,10 @@ export function TransformationsDrawer(props: TransformationsDrawerProps) { ) { return false; } - return t.name.toLocaleLowerCase().includes(drawerState.search.toLocaleLowerCase()); + return ( + t.name.toLocaleLowerCase().includes(drawerState.search.toLocaleLowerCase()) || + t.description?.toLocaleLowerCase().includes(drawerState.search.toLocaleLowerCase()) + ); }); const searchBoxSuffix = (