Posted by traxer on January 9, 2009 at 12:12pm
4 followers
| Project: | Location |
| Version: | 6.x-3.x-dev |
| Component: | Location_views |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
| Issue tags: | location views, location views handler |
Issue Summary
When you enter 0 as longitude and 0 as latitude of the location that distances are measured against, the distance does not show up in the view, because the field handler treats those values as if no location was entered.
This issue is fixed by the patch I submitted in #326569: Implement click_sort in distance field handler. In case that patch is not committed, this issue is here to record the bug.
Comments
#1
Could someone else please test this, and make sure it still applied against the most recent dev version? That will make it more likely to get committed. Thanks.
#2
Oh, after someone else confirms that patch works and still can be applied to the dev version, then they can change the status on the issue to Reviewed & Tested By the Community (RTBC). I'm only mentioning it because I think a lot of people who are trying to use location are not used to the "developer" side of the drupal issue queue, and this might be their first experience testing a patch, or changing a status in an issue queue. ... so here is more information on patches: http://drupal.org/patch/apply
#3
Issue still remains.
When using static location with longitude or latitude set to 0 the distance does not get calculated and displayed.
This patch aims to only fix the bug.
#4
tagging.
#5
This is no longer an issue as the proximity filter was rewritten for the 3.1 release.
I'm pretty sure the issue this was fixed in was #718928: add options to set coordinates w/ user location, PHP code for field, filter