Skip Navigation

[Resolved] Back button for filter is not working

This support ticket is created 3 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
- 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: Asia/Hong_Kong (GMT+08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Luo Yang 3 years, 9 months ago.

Assisted by: Luo Yang.

Author
Posts
#2344621

Tell us what you are trying to do?
Go: hidden link
Select one of the filter. Then hit back button.
It won't go back to /products/, instead go back to one before.

Is there any documentation that you are following?
I actually found the post saying same thing.
I checked " Enable history management setttings for manual AJAX pagination" and "Enable history management settings for AJAX custom search".
However, it won't help.

Is there a similar example that we can see?
No

What is the link to your site?
hidden link

#2344953

Hello,

I have tried the URL you mentioned above, after select one filter, I don't see any "Back" button, but see the "Reset All" link, and click it, it works fine, it go back to default product page.

Is this problem resolved? Please let me know if you need more assistance for it, thanks

#2345001

I meant back button is browser back button.

#2345037

There is a misunderstanding, the option "Update URLs after loading search results" can only update browser's URL with new URL parameters, it won't trigger browser history back and forward, this is a AJAX feature:
hidden link
Update a web page without reloading the page

For example you can get the new URL parameter values with shortcode [wpv-search-term]:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-search-term

#2346119

So there is no way I can use browser back button then?

#2346697

There isn't such kind of built-in feature.

You can add a feature request:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
Our developers will evaluate it.

Currently, you might consider to disable the AJAX search feature, for example, switch option from "AJAX results update when visitors change any filter values" to: Full page refresh when visitors click on the search button
And add a "Submit" button into the search form.