Skip to content

Commit

Permalink
Merge pull request #22244 from MattTrim1/flip-default-display-custom-…
Browse files Browse the repository at this point in the history
…group-options

dev/core#2977 - For custom group creation, flip the default display settings
  • Loading branch information
demeritcowboy authored Dec 14, 2021
2 parents a597865 + 34c6d4b commit 5025be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Custom/Form/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ public function setDefaultValues() {
$defaults['weight'] = CRM_Utils_Weight::getDefaultWeight('CRM_Core_DAO_CustomGroup');

$defaults['is_multiple'] = $defaults['min_multiple'] = 0;
$defaults['is_active'] = $defaults['is_public'] = $defaults['collapse_display'] = 1;
$defaults['is_active'] = $defaults['is_public'] = $defaults['collapse_adv_display'] = 1;
$defaults['style'] = 'Inline';
}
elseif (empty($defaults['max_multiple']) && !$this->_isGroupEmpty) {
Expand Down

0 comments on commit 5025be1

Please sign in to comment.