Skip Navigation

[Closed] order results by distance

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 3 replies, has 1 voice.

Last updated by Minesh 4 months, 3 weeks ago.

Assisted by: Minesh.

Author
Posts
#2799550

Tell us what you are trying to do?

Hello, I have questions about the search view:

I want to order results by distance of the position field research

Also I would want to change the text of the placeholder, now it's "Saisir votre emplacement" and I would want it to be "Où".

And I want that the different filter fields to be in an "And relationship". It seems that now it's an "Or relationship"

For example If I write in the search field "enfant" and in the localization field "Nantes", It will display all the results with "enfants" even very far of the city of Nantes.

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

hidden link

Thanks !

#2799587

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

As per our support policy, we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery for the original issue reported.

With this ticket - I will try to guide you about order result by distance.

Hae you checked the following Doc:
- https://toolset.com/course-lesson/filtering-and-ordering-map-markers-by-distance/#filtering-markers-by-distance

#2799612

Hi and thanks for your answer.

Is it possible without a map ? I have the option order by distance in my view but somehow it disappears when I save the view

#2799664

Minesh
Supporter

Languages: English (English )

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

Distance comes in picture when you have address field setup.

what filed you are using that holds the "distance"? is there a numeric field or how exactly its setup?

The topic ‘[Closed] order results by distance’ is closed to new replies.