diff --git a/client/src/pages/search/hooks/useUrl.ts b/client/src/pages/search/hooks/useUrl.ts index 2f773747..8db0cf1e 100644 --- a/client/src/pages/search/hooks/useUrl.ts +++ b/client/src/pages/search/hooks/useUrl.ts @@ -99,7 +99,7 @@ export default function useUrl() { const currentQuery = searchParams.get("q") || ""; const currentFilters = parseSearchFiltersFromURL(searchParams.get("filters")); const filters = filtersToElasticQuery(currentFilters); - if (integrationId) filters.push({ term: { bso_local_affiliations: integrationId } }); + if (integrationId) filters.push({ term: { "bso_local_affiliations.keyword": integrationId } }) const clearFilters = useCallback(() => { searchParams.delete("filters");