The patch will let Proximity/Distance field to use the latitude and longitude from the distance argument as the origin.
Please review the patch!
A) The spacing of the second patch band doesn't follow the coding standards. ( http://drupal.org/coding-standards )
B) You can't assume it will be in $view->args. You have to determine which argument is the right one first, in case the view has been configured with other arguments in front of the proximity/distance one.
Please review the patch,thanks!
Sorry about the wait!
Committed to 7.x-3.x and 7.x-4.x, thanks!
Note that there is a zipcode mode the argument can be in as well, and it doesn't handle this. But I wanted to get this patch in so skyred is happy ;)
Automatically closed -- issue fixed for 2 weeks with no activity.
Can you also commit to 6.x-3.x, please?
skyredwang told me in irc that it was actually meant for 6.x originally.
Committed there too.
Drupal is a registered trademark of Dries Buytaert.