Skip Navigation

[Resolved] Problem with distance filter

This thread is resolved. Here is a description of the problem and solution.

Problem:

A distance filter "Show posts within 50km radius of xxx" does not work in the client website.

Solution:

It might be an exception of that specific view, you create another fresh view, with the same distance filter, and test again

Relevant Documentation:

This support ticket is created 6 years, 2 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 11 replies, has 2 voices.

Last updated by Luo Yang 6 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1111704

Hello,

I have a problem to use view with distance filter. I have already asked about that but the problem is not fixed i think.

When i place the city in the filter like in my picture it works. But when i fill the city with paramter it doesn't work.

You can try in this page : hidden link

And the view is : hidden link

#1112127

Hello,

I have tried the URL, but can not see the google map
hidden link

and the view URL requires login:
hidden link

Please provide your website credentials and describe detail steps to duplicate the same problem:
Where and how can I fill the city with parameter?

I need to test and debug it in a live website.

#1115484

Thanks for the details, I can login your website, in the problem page:
hidden link
There isn't distance filter or custom search form, it displays only the view's result, if you are going to display the distance filter, please edit the view:
hidden link

In section "Output Editor", add below codes:
[wpv-filter-meta-html]

That shortcode is for displaying the custom search form.

#1115562
Capture d’écran 2018-09-26 à 10.43.28.png

Hi,

I don't understand your answer. It is strange.
First i have distance filter as you can see in my picture. Ok i have no search form but i can use filter without search form, no ?
Second, it is strange because in the case i fill distance filter with city Toulouse OR Clermont-Ferrand, it works. But when i fill bordeaux it doesn't work. And i have post in Bordeaux as you can see
hidden link

#1115623

Thanks for the details, I can see the problem in your website, please check these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

For example, you are using Toolset map plugin version 1.4.2, which is outdated, the latest version is 1.5.3

2) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017, and test again

3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL and view URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1115713

Thansk for your answer, i'am so sorry that i didn't check before.

And my last question is, could i order by distance ?

#1115842

i think i have made a mistake. it doesn't work anymore. It is so strange. I have searched a lot about this problem from age....

So you have already login.
Here is copy of my website : hidden link

Here is view url : hidden link

Here is problem url : hidden link
When i use City Toulouse it works and with Bordeaux it doens't work

Here is the Url where you can find Posts with City Bordeaux.
hidden link

I hope we could solve this problem quickly.

#1116181

Thanks for the details, I am downloading the file, will update here if there is anything found.

#1116193

Ok thanks, i am waiting 🙂

#1116277
Bordeau.JPG

Here are what I found, it might be an exception of view "For landing - vue liste programmes Midi Pyrenees",

I have tried to create another fresh view, with the same distance filter:
Show posts within 50km radius of Bordeaux, France.

And test it in front-end, it seems works fine, see screnshot Bordeau.JPG

So I suggest you create another view to replace the problem view, and test again

#1121527

My issue is resolved now. Thank you!

#1122404

You are welcome