Skip Navigation

[Resolved] minor bug, filter query by distance always shows km

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
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 community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+01:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Nigel 6 years, 2 months ago.

Assisted by: Nigel.

Author
Posts
#619813
Screen Shot 2018-02-26 at 12.40.42 PM.png

Filter query by distance works as expected.

There is a minor bug that displays the filter ONLY in km regardless of which system of measurement is selected.

eg, I go to Query Filter > filter by Toolset Maps - Distance,
then Filter Radius, 5 and then I select "mi" from the select menu.
I click "save"
and the filter shows the filter that I have in place as "Show posts within 5km radius of the viewing user's location."

Note that even though it says that the filter is displaying results 5km from the user's current location it is actually displaying results from *5 mi* as expected.

#620055

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Jonathan

Thanks for reporting that. I have tested it locally and can confirm the same, and I'm passing this to the developers for what should be a very simple fix.

Please note that you are posting in the Community Forum for users of the free Types plugin. As a Toolset customer you can and should post in the Technical Support forum which we prioritise and where you should receive speedier service.

#623250

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi Jonathan

A quick update to say this will be fixed in the next release, and there is a workaround described in this erratum: https://toolset.com/errata/km-instead-of-miles-displayed-in-distance-search-unit-even-if-miles-are-set/

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.