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

Fix hierarchical facet filters in advanced search. #3325

Conversation

EreMaijala
Copy link
Contributor

I had accidentally left some double-processing of hierarchical facets to the advanced search facets handling code, and this resulted in hierarchical facets only displaying the top level in advanced search filters.

@EreMaijala
Copy link
Contributor Author

And yes, this could use some tests. I'll try to create some when time permits (I have a ticket open locally about it).

@demiankatz demiankatz added this to the 10.0 milestone Jan 19, 2024
Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @EreMaijala! As you say, tests will be appreciated when time permits (and should not be too hard to implement since we can just turn on the existing hierarchical_facet_str_mv data for testing purposes), but there's no reason to hold off on merging the fix, so I'll do that now.

@demiankatz demiankatz merged commit dbaccc2 into vufind-org:dev Jan 19, 2024
7 checks passed
@demiankatz demiankatz deleted the dev-fix-advanced-search-hierarchical-facet branch January 19, 2024 13:26
EreMaijala added a commit to NatLibFi/NDL-VuFind2 that referenced this pull request Jan 19, 2024
EreMaijala added a commit to NatLibFi/NDL-VuFind2 that referenced this pull request Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants