Skip Navigation

[Resolved] Issue with toolset-maps-distance-center Not Being Saved in URL

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 1 reply, has 1 voice.

Last updated by Minesh 2 months ago.

Assisted by: Minesh.

Author
Posts
#2800316

Tell us what you are trying to do?
I am trying to allow users to search for therapists using the Toolset Maps distance search, where they can enter an address and get results within a specified radius.

However, the entered address (toolset-maps-distance-center) does not appear in the URL when a search is performed. This means that when someone shares the search URL, the location is missing, and the results reset to the default view.

The Google Maps API is used to autofill the address field, but this input is not being stored in the URL, making it impossible to reproduce the same search results when sharing the link.

Is there any documentation that you are following?
I have reviewed the Toolset Maps documentation and settings but could not find an option to ensure that the entered address (toolset-maps-distance-center) is stored in the URL.

I have already tried enabling browser history management for AJAX searches under Toolset settings, but it does not resolve the issue.

What is the link to your site?
hidden link

#2800350

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

It seems you are using the view's setting filter the view result with AJAX. What is you try to set custom search setting to use full page refresh when clicking on submit and check if that help you to resolve your issue.

Here is the Doc:
- https://toolset.com/course-lesson/creating-a-custom-search/

The above doc shows inforation about how you can enable AJAX search but insetead you will have to use the setting "Full page refresh when clicking on submit" and check if thatt helps.