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:
d1eed91
)
fix default 'is searchable' to prevent breaking advanced search
author
Jon Goldberg
<jon@megaphonetech.com>
Fri, 13 Nov 2020 22:19:08 +0000
(17:19 -0500)
committer
Jon Goldberg
<jon@megaphonetech.com>
Fri, 13 Nov 2020 22:19:08 +0000
(17:19 -0500)
CRM/Custom/Form/Field.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Custom/Form/Field.php
b/CRM/Custom/Form/Field.php
index 89dfdc93a3bfc16ad080820db80ce9434cf9be87..dcb32a1fd120b056147dc4fb252386fcb46b3e7d 100644
(file)
--- a/
CRM/Custom/Form/Field.php
+++ b/
CRM/Custom/Form/Field.php
@@
-161,7
+161,7
@@
class CRM_Custom_Form_Field extends CRM_Core_Form {
$defaults['html_type'] = 'Text';
$defaults['is_active'] = 1;
$defaults['option_type'] = 1;
- $defaults['is_search_range'] =
1
;
+ $defaults['is_search_range'] =
0
;
$defaults['weight'] = CRM_Utils_Weight::getDefaultWeight('CRM_Core_DAO_CustomField', ['custom_group_id' => $this->_gid]);
$defaults['text_length'] = 255;
$defaults['note_columns'] = 60;