Eileen has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/341737 )

Change subject: Further fix on 'Remove bulk update blank addresses from being 
treated as 'updates'.'
......................................................................

Further fix on 'Remove bulk update blank addresses from being treated as 
'updates'.'

It seems we have some contacts whose addresses should have been removed, but 
were not. eg. id 408435 , contact_id    1861137.

Since this still has not run on prod we can just edit.

Bug: T159396
Change-Id: I590bc192797af4aca35be9716b5dee778a48f96a
---
M sites/all/modules/wmf_civicrm/wmf_civicrm.install
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/37/341737/1

diff --git a/sites/all/modules/wmf_civicrm/wmf_civicrm.install 
b/sites/all/modules/wmf_civicrm/wmf_civicrm.install
index 6b496ab..3cf448a 100644
--- a/sites/all/modules/wmf_civicrm/wmf_civicrm.install
+++ b/sites/all/modules/wmf_civicrm/wmf_civicrm.install
@@ -2727,6 +2727,7 @@
        OR l.postal_code IS NOT NULL
        OR l.city IS NOT NULL
       )
+      AND l.log_conn_id NOT IN ('" . implode("','", 
wmf_civicrm_get_log_conn_bulk_update()) . "')
     WHERE l.id IS NULL
     ");
 

-- 
To view, visit https://gerrit.wikimedia.org/r/341737
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I590bc192797af4aca35be9716b5dee778a48f96a
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to