protected $_settings = array(
'contact_view_options' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
'contact_smart_group_display' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
+ 'advanced_search_options' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
);
public function preProcess() {
'title' => ts('Editing Contacts'),
'weight' => 3,
),
- 'advanced_search_options' => array(
- 'html_type' => 'checkboxes',
- 'title' => ts('Contact Search'),
- 'weight' => 4,
- ),
'activity_assignee_notification' => array(
'html_type' => 'checkbox',
'title' => ts('Notify Activity Assignees'),
protected function saveMetadataDefinedSettings($params) {
$settings = $this->getSettingsToSetByMetadata($params);
foreach ($settings as $setting => $settingValue) {
- if ($this->getSettingMetadataItem($setting, 'quick_form_type') === 'CheckBoxes') {
+ if ($this->getQuickFormType($this->getSettingMetadata($setting)) === 'CheckBoxes') {
$settings[$setting] = array_keys($settingValue);
}
}
'is_domain' => 1,
'is_contact' => 0,
'description' => ts('Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don\'t track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.'),
+ 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
),
'user_dashboard_options' => array(
'group_name' => 'CiviCRM Preferences',