Problem:
The issue here is that the user's custom js is not being re-activated after their parametric search. Also they were saying that their search bar is updated after an item is selected.
Solution:
If you're using a custom js on your search then you need to use the callback function to invoke that js again. To add the callback function go to the JS editor of your filter section and then click the Frontend Events button and this should bring up the callback functions.
All that is needed is to add the appropriate callback function then add your custom js within that function.
Secondly with the "Show only available options for each input" then this will update the filters once selected so that there will be no combination of filters that won't produce a result.
If the filters are updated after the search is made then it would be possible to submit a combination that would result in a "No Results Found". This essentially defeats the purpose of the "Show only available options for each input" which will always ensure that your view returns some results.
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | 9:00 – 12:00 | - |
- | 13:00 – 18:00 | 13:00 – 18:00 | 13:00 – 18:00 | 14:00 – 18:00 | 13:00 – 18:00 | - |
Supporter timezone: America/Jamaica (GMT-05:00)
Dieses Thema enthält 5 Antworten, hat 2 Stimmen.
Zuletzt aktualisiert von vor 6 Jahren, 5 Monaten.
Assistiert von: Shane.