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:
ef4761b
)
dev/core#2147 Switch the groups search field on Simple search back from select2 to...
author
Seamus Lee
<seamuslee001@gmail.com>
Mon, 2 Nov 2020 01:31:09 +0000
(12:31 +1100)
committer
Seamus Lee
<seamuslee001@gmail.com>
Mon, 2 Nov 2020 01:31:09 +0000
(12:31 +1100)
CRM/Contact/Form/Search/Basic.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Form/Search/Basic.php
b/CRM/Contact/Form/Search/Basic.php
index 537e19e0bdef1db6b52fcb814470e9d06bbc5772..f7fa2e648560bd6c9d23574efb688ae80e6ab4c5 100644
(file)
--- a/
CRM/Contact/Form/Search/Basic.php
+++ b/
CRM/Contact/Form/Search/Basic.php
@@
-49,14
+49,13
@@
class CRM_Contact_Form_Search_Basic extends CRM_Contact_Form_Search {
// add select for groups
// Get hierarchical listing of groups, respecting ACLs for CRM-16836.
// add select for groups
// Get hierarchical listing of groups, respecting ACLs for CRM-16836.
- $groupHierarchy = CRM_Contact_BAO_Group::getGroupsHierarchy($this->_group, NULL, '- ');
+ $groupHierarchy = CRM_Contact_BAO_Group::getGroupsHierarchy($this->_group, NULL, '- '
, TRUE
);
if (!empty($searchOptions['groups'])) {
$this->addField('group', [
'entity' => 'group_contact',
'label' => ts('in'),
'placeholder' => ts('- any group -'),
'options' => $groupHierarchy,
if (!empty($searchOptions['groups'])) {
$this->addField('group', [
'entity' => 'group_contact',
'label' => ts('in'),
'placeholder' => ts('- any group -'),
'options' => $groupHierarchy,
- 'type' => 'Select2',
]);
}
]);
}