Sauter la navigation

[Résolu] Back button reset query instead of keeping it.

This support ticket is created Il y a 5 années et 5 mois. 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/Karachi (GMT+05:00)

Ce sujet contient 4 réponses, a 2 voix.

Dernière mise à jour par FelipeP5703 Il y a 5 années et 5 mois.

Assisté par: Waqar.

Auteur
Publications
#1392743

I am trying to: My customers are complaining that after they choose a filter then select a custom post, when they click the back button they have to select the filter again.

Link to a page where the issue can be seen: lien caché

I expected to see: I expect that when the visitor clicks the back button after choosing a custom post, that they are taken back to the query with what they have chosen as a filter.

Instead, I got: Reset filters.

Here is a video: lien caché

#1392941

Hi Felipe,

Thank you for contacting us and I'd be happy to assist.

To ensure that selected query options stay selected, when the back button option is used, you can select the "Update URLs after loading search results" option in the view's "Custom Search Settings" section.

Example screenshot: lien caché

This will append the query filters in the URL, which will be used by the browser when reaching back.

regards,
Waqar

#1393225

Waqar,

I looked for the option to Update URL but it's not there: lien caché Although it's in Portuguese, URL is not translated to anything, and the option should have been above the Javascript section.

I also have to show all options available: lien caché

So I'm not sure what to do now.

#1393227

Please go to WP Admin -> Toolset -> Settings -> Front-end Content and make sure that the following two options are checked under the "Browser history management" section:

1. Enable history management setttings for manual AJAX pagination
2. Enable history management setttings for AJAX custom search

Screenshot: lien caché

These options are enabled by default, but if they're disabled, it would explain the missing options on the view's edit screen.

#1393249

Thank you Waqar! I had those settings off for some reason! My issue is resolved now. Thank you!