diff --git a/packages/components/src/templates/next/layouts/Collection/utils/getAvailableFilters.ts b/packages/components/src/templates/next/layouts/Collection/utils/getAvailableFilters.ts index 2e8530fe0..6a395c85f 100644 --- a/packages/components/src/templates/next/layouts/Collection/utils/getAvailableFilters.ts +++ b/packages/components/src/templates/next/layouts/Collection/utils/getAvailableFilters.ts @@ -7,9 +7,10 @@ import { getYearFilter } from "./getYearFilter" export const getAvailableFilters = ( items: ProcessedCollectionCardProps[], ): Filter[] => { + // TODO: Allow user to pass in order of filters to be shown return [ + ...getTagFilters(items), getCategoryFilter(items), getYearFilter(items), - ...getTagFilters(items), ].filter((filter) => filter.items.length >= 1) }