This support ticket is created Il y a 4 années et 11 mois. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
I have a custom search (as seen on lien caché) with two taxonomy filters and two numeric filters (amount from/to). All 4 filters have default labels. I expect that when a user does not make a selection (so the default label is active), the search does not use that filter.
My problem is that despite the default labels there is no search result if only one filter was used. I see that when the default label is active this gives a url string with value '0'
lien caché
But there is no "locatie-woning" with value '0'.
So I expect that when 'wpv-soort-woning' had a value and 'wpv-locatie-woning' not, all posts are showed no matter what wpv-locatie-woning it is.
Hello. Thank you for contacting the Toolset support.
We have known issues with range filters and its already reported to our next level support.
I'll get in touch with you once I get some updates on it. Please hold on for further updates.
For now, there are two workarounds:
1)
You can downgrade Views plugin to version 2.9.4
OR
2)
Use the "wpv_filter_query" hook:
- Add the following code to your theme's functions.php file: