I am experiencing an issue with a View on this page: hidden link
The View should work like this: By default, all therapists are shown.
If the user checks the box "Physio Pelvica Qualifikation", then the View should filter and show only therapists where the custom field fortbildung-geprufte-physio-pelvica-therapeutin-4-ausbildungsmodule-und-prufung has the value Physio Pelvica Qualifikation. (green color)
This used to work before, but now the filter no longer has any effect – the View always shows all therapists, even when the checkbox is checked.
What I already tried:
- Deactivated all plugins except Toolset and reactivated them step by step.
- Deactivated WP Rocket settings regarding JS and CSS optimization.
- Cleared cache.
But the problem persists.
Additionally, the ZIP and radius filter (which uses select2 and a JSON list of postal codes) loads quite slowly. Users sometimes think the search is broken and send emails instead of waiting. Is there any recommended way to make this filter load faster or appear more responsive?
Could you please help me solve the checkbox filter problem and advise if there is any way to improve the filter performance?
Hello. Thank you for contacting the Toolset support.
That is really strange.
I will have to look at your view's settings and for that I will require admin access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
Now it seems that the search is not filtering at all when I add a postcode it always shows me the same posts and data and does not filter.
Thats weird because yesterday it still worked.
Maybe you can check its issue too, please.
Thank you very much.
The View “Therapeuten Liste Classic Children” was built almost the same way as “Therapeuten Liste Classic”.
The only difference is that the Children View displays fewer fields and uses a slightly different filter (no checkbox filter). On this View (Therapeuten Liste Classic Children) the search works – it is very slow, but at least it works.
On the new Classic View, however, the search does not work at all.
Could you please check if there is any configuration difference in the filters or fields between the two Views that could explain this behavior?
What if you try to create a brand new view using the classic view and just add your desired checkbox filter and just add post link to view's output and try to add this view to a new test page and check if you see it working.
I found the speed issue wasn’t my PHP but how it loaded data: it appended thousands of <option>s from a big JSON before initializing Select2. I switched to type-ahead Select2 (no mass options) and it’s fast now.
The filtering issue was caused by my custom “5-year-filter" code. I now have to fix this.
I want to show only posts that have at least one “proof upload” within the last 5 years in the classic view.
There can be multiple proof entries per post but if any one is within 5 years, the post should remain visible.
The proof date is stored in plain text fields (not a Toolset date/number field).
What’s the recommended way to implement this in a View without breaking the other filters? Should I open a new ticket for this, or continue here?
Yes, please open a new ticket, that is a different issue.
Please share all required details and admin access details and as I understand, by default when view is loaded it should only show posts where proof is uploaded in last five years and we have to compare the date value available with your proof date field that stores the value in plain text fields as date string.