Skip Navigation

[Resolved] Filtering (AJAX/Reload) does not work

This support ticket is created 4 years, 3 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
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9: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: Africa/Casablanca (GMT+01:00)

This topic contains 3 replies, has 2 voices.

Last updated by olyaC 4 years, 3 months ago.

Assisted by: Jamal.

Author
Posts
#2185541

Dear Toolset,

On my development website the filtering does not seem to be working correctly. The Toolset View is embedded inside a Gutenberg block, inside the (customized) WPBakery Page Builder, from the Salient theme.

Trying either of the 3 options (reload, AJAX reload with button, AJAX reload upon change) the filtering does not seem to do anything. When using the AJAX method, I can see the URL passes on the correct/changed parameters, but the content on the page stays unchanged after filtering. When using the Reload method, nothing happens at all when selecting a filter option.

I have already tried the following:
- Disabling WPBakery Page Builder
- Updating Toolset Views and Blocks to the latest version
- Enabling/disabling AJAX transitions within the Salient theme
- Removing all Custom CSS
- Adding the snippet from https://toolset.com/forums/topic/toolset-view-not-working-with-salient-theme/

Would you have any idea as to why filtering/reloading seems to be completely broken?

#2185649

Hello and thank you for contacting Toolset support.

Can you try this view on a regular page so we can isolate the issue as much as possible?

Can you share a Duplicator copy of your site and let us check it further? Please create an administrator user for us before creating the copy. Your next reply will be private to let you share the download link safely.

#2186099

Thank you for the credentials and the details.

If we inspect the AJAX requests, we find out that the response(inside WPBakery) is empty while a Gutenberg page contains the results. Check this screenshot hidden link

Unfortunately, the custom code to map the WPBakery shortcodes did not help, as you may have already experienced. hidden link

Using an iframe should be a viable workaround, just keep in mind that the iframe will also include the header and footer. You may want to conditionally apply a style that will hide them inside an iframe.

Another workaround would be to use the view without the AJAX feature. And you will have to add a submit button to it.

If you would like to reproduce this issue on one of our test sites, I'll escalate it to our 2nd Tier. But, I must confess, that it may take some time before it gets worked on, and I can't guarantee that it will be fixed.
I highly recommend that you involve the Salient's support team too.

This is a link to log in to one of our test sites hidden link
However, as I explained, we can't guarantee that we will be able to fix it.

#2188113

My issue is resolved now. Thank you!