projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f72d5f5
)
geocode job: Provide country_id to geocoders.
author
mark burdett
<mfburdett@gmail.com>
Tue, 15 Jan 2019 08:11:38 +0000
(
00:11
-0800)
committer
mark burdett
<mfburdett@gmail.com>
Tue, 15 Jan 2019 08:12:38 +0000
(
00:12
-0800)
CRM/Utils/Address/BatchUpdate.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Address/BatchUpdate.php
b/CRM/Utils/Address/BatchUpdate.php
index 5a58e47272d871d703770410c7df26026318f3d8..0851276ccf1cc76fe96ff1361f58cb9227476375 100644
(file)
--- 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();