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:
959528d
)
fix for failing test search result
author
Eileen McNaughton
<eileen@fuzion.co.nz>
Fri, 27 Jun 2014 02:58:00 +0000
(14:58 +1200)
committer
Eileen McNaughton
<eileen@fuzion.co.nz>
Fri, 27 Jun 2014 02:58:00 +0000
(14:58 +1200)
CRM/Contact/BAO/Query.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Query.php
b/CRM/Contact/BAO/Query.php
index af75015cd3ecaf5760a7020f40a32af40d146fc7..d77c787d44af8f4ab2042291efd968f0ab2a34a0 100644
(file)
--- a/
CRM/Contact/BAO/Query.php
+++ b/
CRM/Contact/BAO/Query.php
@@
-2554,6
+2554,9
@@
class CRM_Contact_BAO_Query {
elseif (strpos($name, '-phone') != 0) {
$locationTypeName = 'phone';
}
+ elseif (strpos($name, '-email') != 0) {
+ $locationTypeName = 'email';
+ }
if($locationTypeName) {
//we have a join on an location table - possibly in conjunction with search builder - CRM-14263
$parts = explode('-', $name);