Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When using the location proximity views filter, exposed with the "Latitude / Longitude input (use map)" option, the filter does nothing. It always returns all locations and doesn't filter anything.
As suggested in #1190908-4: "Use Distance / Proximity Filter" Not Working in when an Exposed Views Filter by Vandrico
The problem is there is nothing like:
case 'latlon_gmap':
$coordinates['latitude'] = (float) $options['latitude'];
$coordinates['longitude'] = (float) $options['longitude'];
break;
in the location_views_proximity_get_reference_location() function in location.views.inc
so the lat/lon is not set.
This is a problem in all versions of location.
Comments
Comment #1
rooby CreditAttribution: rooby commentedFixed in 6 & 7.
http://drupalcode.org/project/location.git/commit/c179769
http://drupalcode.org/project/location.git/commit/20d62eb
http://drupalcode.org/project/location.git/commit/7f93484
- The first commit with your name in the message Vandrico :)