Skip to content

Commit

Permalink
fix(networks): integration filter in lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
ahonestla committed Jul 17, 2024
1 parent 2b98f64 commit 01107b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/pages/search/hooks/useUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.keyword": integrationId } })
if (integrationId) filters.push({ term: { "bso_local_affiliations.keyword": integrationId.toLowerCase() } })

const clearFilters = useCallback(() => {
searchParams.delete("filters");
Expand Down

0 comments on commit 01107b6

Please sign in to comment.