Skip to content

feat(search): add organizations facet support#1

Closed
abulte wants to merge 2 commits intofeat/global-search/tag-filtersfrom
feat/global-search/orgs-facet
Closed

feat(search): add organizations facet support#1
abulte wants to merge 2 commits intofeat/global-search/tag-filtersfrom
feat/global-search/orgs-facet

Conversation

@abulte
Copy link
Copy Markdown
Collaborator

@abulte abulte commented Apr 13, 2026

Fix ecolabdata/ecospheres#1020

Adds organization_facet as a filter option for GlobalSearch, allowing downstream consumers to filter by organizations present in the current result set (facet-based), as opposed to the existing organization filter which queries all organizations via the suggestion API.

New OrganizationFacetFilter component renders organization_id_with_name facets (already returned by the API) as a radio group.

SearchFilterAliases maps UI-only filter keys to their API param equivalents (organization_facetorganization).

Usage:

getDefaultDatasetConfig({
  basicFilters: ['organization_facet'],
})

@abulte
Copy link
Copy Markdown
Collaborator Author

abulte commented Apr 20, 2026

Reopening on origin and correct base PR.

@abulte abulte closed this Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant