-
Notifications
You must be signed in to change notification settings - Fork 255
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
Setting ':single => true' on a facet does not affect the "more" screen #765
Comments
In fact, most facet options don't play nice with the more-screen. |
Where would I find docs on all the facet options? I hadn't known about |
@cbeer - I will open a pull request soon that fixes a lot of the problems |
Thanks @eranhirs. I see the example here: But I'm still not sure what it does -- you linked to the Solr docs on Multi-Select Facetting and LocalParams. So it's got something to do with that? But what? |
It does 2 things: *2 - It also makes the facets swap when clicking a facet value. For example you clicked "Pdf", then pressed "Word", because you set :single => true then "Pdf" will swap with "Word" instead of them both being selected. *1 is using solr's implementation, while *2 is blacklight's internal implementation. |
@cbeer how do I add a pull request to this issue? |
Just reference it in the PR (e.g. Fixes #765) |
PR #767 |
When setting
:single => true
on a facet it does not affect the "more" screen.For example, set a limit on 'pub_date' facet like this:
then try choosing a value, then click the "more" button.
You will see only the selected facet not all of them like expected when setting ':single => true'
The text was updated successfully, but these errors were encountered: