Commit c85faa08 authored by colemanw's avatar colemanw

CRM-14581 user selector on group field - cleanup params

parent 4fe2f9e6
......@@ -190,7 +190,7 @@ class CRM_Admin_Form_Preferences extends CRM_Core_Form {
break;
case 'entity_reference':
$this->addEntityRef($fieldName, NULL, array('entity' => 'group', 'api' => array('params' => array())));
$this->addEntityRef($fieldName, $fieldValue['title'], CRM_Utils_Array::value('options', $fieldValue, array()));
}
}
......
......@@ -62,6 +62,7 @@ class CRM_Admin_Form_Preferences_Multisite extends CRM_Admin_Form_Preferences {
'html_type' => 'entity_reference',
'title' => ts('Domain Group'),
'weight' => 3,
'options' => array('entity' => 'group', 'select' => array('minimumInputLength' => 0)),
'description' => ts('Contacts created on this site are added to this group'),
),
/** Remove this checkbox until some one knows what this setting does
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment