From 62fe5f49ca6b8adf172db307ea2230f20d1c314b Mon Sep 17 00:00:00 2001 From: mark burdett Date: Tue, 15 Jan 2019 00:11:38 -0800 Subject: [PATCH] geocode job: Provide country_id to geocoders. --- CRM/Utils/Address/BatchUpdate.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Utils/Address/BatchUpdate.php b/CRM/Utils/Address/BatchUpdate.php index 5a58e47272..0851276ccf 100644 --- a/CRM/Utils/Address/BatchUpdate.php +++ b/CRM/Utils/Address/BatchUpdate.php @@ -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(); -- 2.25.1