Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.0, 4.0.0, 4.1.0, Unscheduled
-
Fix Version/s: 4.1.0
-
Component/s: CiviCRM API, CiviCRM Profile, CiviCRM Search, CiviEvent, CiviMail, CiviMember, CiviReport, Core CiviCRM, Drupal Integration Modules
-
Labels:None
Description
Standardize handling of geocoding variables.
Also added TODO in bin/UpdateAddress.php. I suspect that if an address really does have a lat,long of 0,0 then it will re-process that address on every call.
diffstat:
CRM/Contact/BAO/ProximityQuery.php | 4 +-
CRM/Contact/Form/Search/Custom/Proximity.php | 2 +
CRM/Contact/Selector.php | 13 +++++--
CRM/Event/BAO/Event.php | 13 +++++--
CRM/Import/Parser/Contact.php | 4 +-
bin/UpdateAddress.php | 5 ++
joomla/site/views/Events/tmpl/default.php | 13 ++++++-
joomla/site/views/Events/tmpl/register.php | 13 ++++++-
templates/CRM/Contact/Form/Edit/Address/address_name.tpl | 2 -
templates/CRM/Contact/Form/Edit/Address/city_postal_code.tpl | 4 +-
templates/CRM/Contact/Form/Edit/Address/country_state_province.tpl | 4 +-
templates/CRM/Contact/Form/Edit/Address/geo_code.tpl | 3 +
templates/CRM/Contact/Form/Edit/Address/street_address.tpl | 2 -
templates/CRM/Contact/Form/Edit/Address/supplemental_address_1.tpl | 2 -
templates/CRM/Contact/Form/Edit/Address/supplemental_address_2.tpl | 2 -
templates/CRM/Contact/Form/OnBehalfOf.tpl | 18 +++++-----
templates/CRM/Contact/Page/View/Summary.tpl | 6 ++-
templates/CRM/Event/Form/Registration/EventInfoBlock.tpl | 13 ++++++-
templates/CRM/Event/Page/EventInfo.tpl | 13 ++++++-
19 files changed, 102 insertions, 34 deletions