Skip Navigation

[Resolved] Toolset Views (search and filter) doesn't work

This support ticket is created 5 years, 9 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 4 replies, has 2 voices.

Last updated by jamesK-13 5 years, 9 months ago.

Assisted by: Beda.

Author
Posts
#1290935

Hello,
I need your technical help with using Toolset Views.

Okay, I created a website and customized Custom Post Type archive page —hidden link
But in some reasons, the filter dropdowns don't work. I mean, if you choose something from dropdown, it won't update results automatically.

Could you login and check what is wrong, please?

So I need update cards result once a user chooses something from dropdown or enter a name of casino in search field.

P.S. another question I have — how can I do clickable thumbnails on Casino page?

Will be waiting for your reply!
Thank you in advance.

#1290977

The query filters were entirely missing on the View.
I added them so they can be edited in the view (when editing the View, at the top, click on "screen options" to activate or deactivate sections to edit)

Your search is set to *AJAX results update when visitors change any filter values* so it should fire the query when you change parameters, that is correct.
It does not, as I can confirm on the link you shared.

Interestingly not even WordPress's core AJAX heartbeat is appearing in the console, which points to issues with AJAX/Server/Theme or else, disabling or breaking AJAX requests - which are necessary to have this working.

Can you try a few things?
1. Use Theme Twenty Nineteen for a test to see if that works
2. Use no other plugin but Toolset to see if that works
3. Create a new View for another post type with the same settings (or similar) and see if this succeeds

In any case please also consider not using Elementor with Views on archives, even if it accidentally works, it's not made for it:
https://toolset.com/forums/topic/ajax-search-results-not-working-in-elementor-when-views-is-splited/#post-1209502
The problem is that the integration was not done to control Archives with Elementor and insert Views in there.
It was solely done to edit Elementor Templates and insert Views (for post types).

Also, this might be the direct cause:
https://toolset.com/forums/topic/ajax-filtering-on-taxonomy-in-a-view-doesnt-work-in-elementor/#post-1223431

Please let me know if any of these helps.

I could not spot any other obvious issue, apart of the above.

#1290979

Changing status

#1291069

Hello Beda,
Thank you for your detailed reply! And thank you for help with adding query filters.
Could you send me an instruction how did you do there? Maybe there is an article in your documentation? So I can do the same in the future by myself.

Also, could you reply on my 2nd question: how can I do clickable thumbnails?
Because for now on this page (hidden link) they are not clickable.

Thank you!

#1291947

My issue is resolved now. Thank you!