Location search with autocomplete suggestions

Could anyone tell me how to enable location search and how to sort listings according to the distance

@rap1ds, Can you please guide me, actually we are using google api, how can I enable autocomplete

Thanks

Hey there!

If you’re using Sharetribe’s latest version and enable the location search from your admin panel, location search with autocomplete should work out of the box, similar to the setup in the hosted version.

Give it a try!

@thomasmalbaux

I can’t figure out how to get location search to work in open source v7.3.0.

The only way I was able to show the option in the admin panel was by setting external_search_in_use: true in the config, but then it tries to use Zappy which doesn’t work.

Any help would be appreciated.

Thanks

I am also having trouble configuring Zappy. The option only appears when the external_search_in_use variable is set to false as mentioned before.

Thank you for any responses!

For opensource version you can try following patch to make location search work with Sphinx:

https://github.com/sharetribe/sharetribe/pull/3256/files

How can you apply a patch ?
I’m not a pro with git ! ahah

Hi @Maxence_Carpentier :slight_smile:
You can follow this related thread : https://www.sharetribe.com/community/t/external-search-in-use-problem/1215/4

Hi ! :slight_smile:
This is my thread ! ahah
Thank you ! :slight_smile: