1

I would like to sort my results by proximity in Drupal 7 Views.

I have already read the geofield proximity in views topic.

But that tutorial is using a location provided by the user (exposed filter) and I would like to use the location provided by the HTML5 API call for an anonymous user, and want to order the results by distance.

Using the "current user" as source does not work, although the page asks for location from the browser.

Any help would be appreciated!

2
  • Is it working with exposed user (exposed filter) ? Commented Apr 5, 2016 at 14:03
  • Yes, its working when exposed. Commented Apr 5, 2016 at 16:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.