Skip Navigation

[Resolved] The "Show results within" doesn't affect the results

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.

This topic contains 4 replies, has 3 voices.

Last updated by jean-francoisB 1 year, 7 months ago.

Assigned support staff: Minesh.

Author
Posts
#1517607
Screenshot_2020-02-19 listings Archive - Life Flow Wellness Directory.jpg
Screenshot_2020-02-19 March Dental - Life Flow Wellness Directory.png

On my search listing page (hidden link), when you set a location to show results within a specific distance, the results don't filter properly. If you look at my printscreen, I want to show all listing in Kelowna, BC, Canada at 0km, so just those that are in Kelowna only. But the results show all the listings, including those in Ottawa or way more far from Kelowna. How can we fix that?

#1518329

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

I need to check on your install what is causing this. It should work.

Can you please share access details so I can check further.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1520299

Luo Yang
Supporter

Languages: English (English ) Chinese (Simplified) (简体中文 )

Timezone: Asia/Hong_Kong (GMT+08:00)

Hello,

Minesh is on holiday, will be back on Monday, he will get in touch with you when he is back.

#1525093

Minesh
Supporter

Languages: English (English )

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

When I checked on your install - I checked the view you are using:
=> hidden link

I found that the related "Query Filter" is not added at the "Query Filter" section for the location frontend filter you added. so, I've added the related "Query Filter":

Show posts within 100km radius of address/coordinates provided using toolset_maps_distance_center URL parameter.

And you should not use 0 but at least 1km with your address like :
Show results within 1 km of Kelowna, BC, Canada

And I can see it displaying the results. can you please confirm.

#1527901

Thank you Minesh! It's all working perfectly now!