From 5427a68be21565a3c262032d85e8c2d93575bc10 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 10:27:51 -0400 Subject: [PATCH] [AUTO-BACKPORT 10172] fix: ban archive columns in filter for experiment/search search (#10176) Co-authored-by: Ashton G. --- webui/react/src/components/Searches/Searches.tsx | 2 +- webui/react/src/pages/F_ExpList/F_ExperimentList.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/webui/react/src/components/Searches/Searches.tsx b/webui/react/src/components/Searches/Searches.tsx index cf23e84a574..95b3cfd2d96 100644 --- a/webui/react/src/components/Searches/Searches.tsx +++ b/webui/react/src/components/Searches/Searches.tsx @@ -88,7 +88,7 @@ interface Props { project: Project; } -const BANNED_FILTER_COLUMNS = new Set(['searcherMetricsVal']); +const BANNED_FILTER_COLUMNS = new Set(['searcherMetricsVal', 'archived']); const BANNED_SORT_COLUMNS = new Set(['tags', 'searcherMetricsVal']); const makeSortString = (sorts: ValidSort[]): string => diff --git a/webui/react/src/pages/F_ExpList/F_ExperimentList.tsx b/webui/react/src/pages/F_ExpList/F_ExperimentList.tsx index 253642a65a5..c816d04ec04 100644 --- a/webui/react/src/pages/F_ExpList/F_ExperimentList.tsx +++ b/webui/react/src/pages/F_ExpList/F_ExperimentList.tsx @@ -101,7 +101,7 @@ interface Props { const NO_PINS_WIDTH = 200; -export const BANNED_FILTER_COLUMNS = new Set(['searcherMetricsVal']); +export const BANNED_FILTER_COLUMNS = new Set(['searcherMetricsVal', 'archived']); const BANNED_SORT_COLUMNS = new Set(['tags', 'searcherMetricsVal']); const makeSortString = (sorts: ValidSort[]): string =>