I want to create a proximity views handler that is based on the addressfield module such that I can select which addressfields I want to show in an exposed filter.
Such that other modules can provide this, it would be nice if there was a hook_proximity_views_handlers that they can implement to add other handlers.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | hook_proximity_views_handlers-1991828-1.patch | 4.13 KB | Johnny vd Laar |
Comments
Comment #1
Johnny vd Laar commentedAnd here a patch that implements this hook.
Comment #2
rdeboerGreat idea. That would have made this patch less intrusive too:: #2011340: Geofield plugin to extend proximity filtering based on postal address with option to use HTML5 location
Comment #3
Brandonian commentedThanks for the patch, @Jonny vd Laar! Committed on 7.x-2.x
http://drupalcode.org/project/geofield.git/commit/4c16c59