From 300292361d406f9634e26d3420c4592860a66976 Mon Sep 17 00:00:00 2001 From: Irozuku Date: Thu, 26 Feb 2026 11:10:34 -0300 Subject: [PATCH] fix: update search functionality to use display_name instead of name --- DashAI/front/src/components/custom/ItemSelector.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DashAI/front/src/components/custom/ItemSelector.jsx b/DashAI/front/src/components/custom/ItemSelector.jsx index bf87d3705..7ef2322c2 100644 --- a/DashAI/front/src/components/custom/ItemSelector.jsx +++ b/DashAI/front/src/components/custom/ItemSelector.jsx @@ -47,7 +47,7 @@ function ItemSelector({ itemsList, selectedItem, setSelectedItem, disabled }) { setSearchField(event.target.value.toLowerCase()); setItemsToShow( itemsList.map((val) => - val.name.toLowerCase().includes(event.target.value), + val.display_name.toLowerCase().includes(event.target.value), ), ); };