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:
bc7a37d
)
Add more search option for email
author
yashodha
<yashodha@cividesk.com>
Wed, 27 Sep 2023 07:43:28 +0000
(13:13 +0530)
committer
yashodha
<yashodha@cividesk.com>
Wed, 27 Sep 2023 07:43:28 +0000
(13:13 +0530)
CRM/Contact/BAO/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Contact.php
b/CRM/Contact/BAO/Contact.php
index b9b83e95d81992b0a0dbac22b12fb2978609c747..44b20e78e166fe9aca19abd51b44f243122c1bd0 100644
(file)
--- a/
CRM/Contact/BAO/Contact.php
+++ b/
CRM/Contact/BAO/Contact.php
@@
-3581,6
+3581,7
@@
LEFT JOIN civicrm_address ON ( civicrm_address.contact_id = civicrm_contact.id )
public static function getEntityRefFilters() {
return [
['key' => 'contact_type', 'value' => ts('Contact Type')],
+ ['key' => 'email', 'value' => ts('Email'), 'entity' => 'Email', 'type' => 'text'],
['key' => 'group', 'value' => ts('Group'), 'entity' => 'GroupContact'],
['key' => 'tag', 'value' => ts('Tag'), 'entity' => 'EntityTag'],
['key' => 'city', 'value' => ts('City'), 'type' => 'text', 'entity' => 'Address'],