geocode job: Provide country_id to geocoders.
authormark burdett <mfburdett@gmail.com>
Tue, 15 Jan 2019 08:11:38 +0000 (00:11 -0800)
committermark burdett <mfburdett@gmail.com>
Tue, 15 Jan 2019 08:12:38 +0000 (00:12 -0800)
CRM/Utils/Address/BatchUpdate.php

index 5a58e47272d871d703770410c7df26026318f3d8..0851276ccf1cc76fe96ff1361f58cb9227476375 100644 (file)
@@ -158,6 +158,7 @@ class CRM_Utils_Address_BatchUpdate {
                a.street_address,
                a.city,
                a.postal_code,
+               a.country_id,
                s.name as state,
                o.name as country
     FROM       civicrm_contact  c
@@ -181,6 +182,7 @@ class CRM_Utils_Address_BatchUpdate {
         'city' => $dao->city,
         'state_province' => $dao->state,
         'country' => $dao->country,
+        'country_id' => $dao->country_id,
       );
 
       $addressParams = array();