jenkins-bot has submitted this change and it was merged.
Change subject: Don't override quicksearch for empty $name
......................................................................
Don't override quicksearch for empty $name
This and a crappy sync AJAX call were breaking editing for donors
with an employer set.
Change-Id: I0a70361fc5a1d915311e19bce20f31bfd5be7777
---
M sites/all/modules/wmf_civicrm/wmf_civicrm.module
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Awight: Looks good to me, approved
jenkins-bot: Verified
diff --git a/sites/all/modules/wmf_civicrm/wmf_civicrm.module
b/sites/all/modules/wmf_civicrm/wmf_civicrm.module
index 24f82e3..6946dc6 100644
--- a/sites/all/modules/wmf_civicrm/wmf_civicrm.module
+++ b/sites/all/modules/wmf_civicrm/wmf_civicrm.module
@@ -2104,7 +2104,7 @@
) AS t
LIMIT 0, 10
EOS;
- } else {
+ } else if ( !empty( $name ) ) {
$query = <<<EOS
SELECT DISTINCT(id), data, sort_name, email
FROM
--
To view, visit https://gerrit.wikimedia.org/r/227368
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0a70361fc5a1d915311e19bce20f31bfd5be7777
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>
Gerrit-Reviewer: Awight <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits