Skip Navigation

[Waiting for user confirmation] View Filter not working anymore – Therapist List

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 8 replies, has 1 voice.

Last updated by Minesh 6 hours, 58 minutes ago.

Assisted by: Minesh.

Author
Posts
#2822523

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?

Thank you very much!

Best regards,
Henrike Schröder

#2822631

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.

#2822669

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.

#2822677

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I would like to know have you added or modify in your view.

I try to create a test page and created a follow view:
- hidden link
- hidden link

Somehow page is not get saved. Something server related issue is showing while I save the page.

Can you please try to use the above test view and check if that works?

#2822702

Hello,

thanks for your feedback. From my tests it seems that the issue is related specifically to the new test View.

If I add any other widget or module to a page, the page can be saved without problems.

If I use an older View, the page is also saved correctly.

The problem only occurs when the new test view (ID 22704) is added.

So it looks like the error is connected to this View and not a general server issue.

#2822703

What I also find strange is the following:

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?

Thank you for your support.

#2822809

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.

#2822926

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?

#2823006

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.