Skip to content

Commit

Permalink
[AUTO-BACKPORT 10172] fix: ban archive columns in filter for experime…
Browse files Browse the repository at this point in the history
…nt/search search (#10176)

Co-authored-by: Ashton G. <ashton.galloway@hpe.com>
  • Loading branch information
github-actions[bot] and ashtonG authored Nov 1, 2024
1 parent 88c8887 commit 5427a68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webui/react/src/components/Searches/Searches.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
Expand Down
2 changes: 1 addition & 1 deletion webui/react/src/pages/F_ExpList/F_ExperimentList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
Expand Down

0 comments on commit 5427a68

Please sign in to comment.