Saltar navegación

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

This support ticket is created 4 years, 3 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 -

Zona horaria del colaborador: America/Jamaica (GMT-05:00)

Este tema contiene 5 respuestas, tiene 2 mensajes.

Última actualización por wesselK 4 years, 3 months ago.

Asistido por: Shane.

Autor
Mensajes
#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?
enlace oculto (working here)
enlace oculto (Same code not working on live)

What is the link to your site?
enlace oculto

#2310637

Shane
Colaborador

Idiomas: Inglés (English )

Zona horaria: 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.
enlace oculto

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
Colaborador

Idiomas: Inglés (English )

Zona horaria: 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
Colaborador

Idiomas: Inglés (English )

Zona horaria: 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!