Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update search form domain filters #597

Merged
merged 8 commits into from
Jul 29, 2024

Conversation

mitchdawson1982
Copy link
Collaborator

@mitchdawson1982 mitchdawson1982 commented Jul 26, 2024

This PR utilises the implementation from here to pull domains from the back end along with the count of entities tagged for display in the catalogue.

It is key to note that this implementation bypasses the existing facets code, and given that we are not currently using subdomains and we have standalone fetchers for both tags and glossary we could consider removing the facets code altogether.

  • Implements a new get_list_domain_choices function to return a list of Domain objects used for the domain filter options.

@mitchdawson1982 mitchdawson1982 requested a review from a team as a code owner July 26, 2024 12:48
@mitchdawson1982 mitchdawson1982 force-pushed the fmd-596-domain-filter-improvements branch from 9b61973 to 348fe44 Compare July 26, 2024 12:49
home/forms/search.py Outdated Show resolved Hide resolved
@mitchdawson1982 mitchdawson1982 marked this pull request as ready for review July 29, 2024 10:21
@mitchdawson1982 mitchdawson1982 marked this pull request as draft July 29, 2024 10:48
@mitchdawson1982 mitchdawson1982 force-pushed the fmd-596-domain-filter-improvements branch from fc3074a to 0d051cb Compare July 29, 2024 15:06
@mitchdawson1982 mitchdawson1982 marked this pull request as ready for review July 29, 2024 15:31
@mitchdawson1982 mitchdawson1982 merged commit 60da272 into main Jul 29, 2024
5 of 6 checks passed
@mitchdawson1982 mitchdawson1982 deleted the fmd-596-domain-filter-improvements branch July 29, 2024 18:20
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.

✨ Search page domain option enhancements
3 participants