From fd152dccbb1bab5303dec9b5544a77e17d609960 Mon Sep 17 00:00:00 2001 From: Michael Bunsen Date: Wed, 27 Nov 2024 18:36:17 -0800 Subject: [PATCH] fix: missing collections filter --- ui/src/utils/useFilters.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/src/utils/useFilters.ts b/ui/src/utils/useFilters.ts index 7a8b5e4ea..9ce5f0a03 100644 --- a/ui/src/utils/useFilters.ts +++ b/ui/src/utils/useFilters.ts @@ -11,7 +11,11 @@ export const AVAILABLE_FILTERS = [ }, { label: 'Collection', - field: 'source_image_collection', // TODO: Can we update this key to "collection" to streamline? + field: 'collection', // This is for viewing Occurrences by collection + }, + { + label: 'Source image collection', + field: 'source_image_collection', // This is for viewing Jobs by collection. @TODO can we update this key to "collection" to streamline? }, { label: 'Station', @@ -49,10 +53,6 @@ export const AVAILABLE_FILTERS = [ label: 'Source image', field: 'source_image_single', // TODO: Can we update this key to "source_image" to streamline? }, - { - label: 'Source image collection', - field: 'source_image_collection', - }, { label: 'Status', field: 'status',