Closed (won't fix)
Project:
Location
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
12 Sep 2008 at 22:03 UTC
Updated:
29 Jul 2011 at 22:09 UTC
Jump to comment: Most recent file
Comments
Comment #1
bdragon commentedI started on it by doing the first one (proximity search!), but the rest is pretty trivial busy-work... It would also be nice to have help descriptions for everything (if only so views quits saying Error! all over the place...)
Feel free to tackle the easy ones.
Comment #2
alex.k commentedAdding a field that outputs the distance between the location being displayed and the current user's default location.
Comment #3
geodaniel commentedThe attached patch adds a number of filters and adds help text to the fields. It's a work in progress still, as I've not looked at any of the handlers yet. It also doesn't include Alex's user->node proximity field yet.
Comment #4
geodaniel commentedExcept I've just realised I've been patching against an old version. Hopefully some of it is useful still :)
Comment #5
geodaniel commentedUpdated patch against the latest version. Adds help text, sorts and filters where they don't need additional handlers.
Comment #6
geodaniel commentedI'm also trying to figure out how best to do a proximity argument, so that you can give it a NID, and then have a field show you the distance between that node and the current location. Any ideas on how best to do that? I tried with the existing Nid argument, but that didn't have the desired effect.
Comment #7
bdragon commentedYummy, help text!
I committed what you have so far, good stuff.
Regarding sort by distance, there are some helpful functions in earth.inc that you can base stuff off of (or just call..)
Comment #8
jasontanner commentedIs anyone working on adding autocomplete and dropdown options on the Location Views exposed filters ?
e.g. Having exposed Location: Country and Location: City as filters - it would be nice to be able to choose whether they are simple text fields (as now) or dependent autocomplete fields or hierarchical dropdowns.
Comment #9
yesct commentedTagging.
Is this kind of a master issue for views and location? Or should this be a duplicate of another issue?
(I'm trying to organize the issue queue so people who know how to code can better understand status of various initiatives.)
Or should we mark this one closed (since it looks like much was committed in #7) and open new issues for each other piece of functionality?
views arguments work here:
#357295: Proximity Search based on lat/lon, using views arguments
related to
#208686: Views filters - Filter by typed address and Filter by proximity to user
Comment #10
yesct commentedtagging and bumping for bdragon to look at.
Comment #11
ankur commentedThis looks dated. If it isn't, we'll want to re-open it for a 7.x branch and re-roll the patch.