From 08495bec16959153f587cc6e97bf9e18e4ba6fd5 Mon Sep 17 00:00:00 2001 From: dleadbetter Date: Thu, 15 Aug 2024 09:11:14 -0400 Subject: [PATCH] RC #291 - Updating FacetStateContextProvider to remove range values from list facets --- packages/core-data/src/components/FacetStateContextProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core-data/src/components/FacetStateContextProvider.js b/packages/core-data/src/components/FacetStateContextProvider.js index 7b2fbe7c..76bd693e 100644 --- a/packages/core-data/src/components/FacetStateContextProvider.js +++ b/packages/core-data/src/components/FacetStateContextProvider.js @@ -90,7 +90,7 @@ const FacetStateContextProvider = (props: Props) => { * Memo-ize the refinement list facets. */ const listFacets = useMemo(() => ( - _.filter(facets, (field: any) => field.facet && field.type !== TYPE_AUTO) + _.filter(facets, (field: any) => field.facet && field.type !== TYPE_AUTO && field.type !== TYPE_INT_ARRAY) ), [facets]); /**