Skip Navigation

[Resolved] Distance sorting doesn't work after moving to live website

This support ticket is created 2 years, 10 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 5 replies, has 2 voices.

Last updated by wesselK 2 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#2310253

Tell us what you are trying to do?
I just moved my toolset view from our staging site to the live website and the sorting by distance stop working. I seem to find the problem that is causing this.

Is there any documentation that you are following?
My previous ticket: https://toolset.com/forums/topic/order-view-by-distance-after-giving-in-current-location/

Is there a similar example that we can see?
hidden link (working here)
hidden link (Same code not working on live)

What is the link to your site?
hidden link

#2310637

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Wessel,

Thank you for getting in touch.

I've taken a look at the page below however it seems to be returning an error 404.
hidden link

Can you double check the url for me and send the correct one.

Thanks,
Shane

#2311029

My bad, I forgot the post was private.
I put the password 'toolset' on it you should be able to view the page now.

#2311317

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Wessel,

I see the issue now.
Would you mind allowing me to have admin access to the website so that I can have a more detailed look at this for you ?

I've enabled the private fields for your next response.

Thanks,
Shane

#2312613

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Wessel,

Thank you for the credentials.

This should now be working.

The issue was that the distance query filter for the view was missing.

There was a frontend filter but the backend query filter was absent so I had to re-add the distance filter.

Please let me know if this helps.

Thank,
Shane

#2312873

My issue is resolved now. Thank you!