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
Dropdown default is "none". Need a way to make it non-specified / all / any. #14
Comments
@LucySparks It is possible to modify the text "None" by using the template override feature. Instruction here https://github.com/pdaleramirez/super-filter#using-super-filter. You need to input an override folder on search setup page. Then you can copy the example templates in the plugin |
Hi @pdaleramirez, thanks for your response. |
@LucySparks I see what you meant now, I will make an enhancement and make a release soon. |
@LucySparks I've released |
Hi @pdaleramirez |
We've set your Super Filter plugin up to use an "and" relationship between two category fields.
All our items have values for categories 1 and 2 set.
Our category 1 renders as a checkbox list, and category 2 as a dropdown.
"None" is the default value for the dropdowns, it lists the actual category values beneath "none".
The issue is: if you're looking for something specific in category 1, but you don't mind / set which value you want for category 2, the search will always return nothing, because the dropdown is specifically requesting a none or null value for category 2 but all out items have values for category 2.
Basically, we'd like to know how to change the default "none" value in the dropdown to an "all" value or an "any".
Cheers
The text was updated successfully, but these errors were encountered: