'size' => 64,
'maxlength' => 64,
),
- 'html_type' => 'Text',
+ 'html_type' => 'text',
'default' => 'simple',
'add' => '4.5',
'title' => 'How to handle full-tet queries',
'description' => 'If enabled, only primary details (eg contact\'s primary email, phone, etc) will be included in Basic and Advanced Search results. Disabling this feature will allow users to match contacts using any email, phone etc detail.',
'help_text' => NULL,
),
+ 'quicksearch_options' => array(
+ 'group_name' => 'Search Preferences',
+ 'group' => 'Search Preferences',
+ 'name' => 'quicksearch_options',
+ 'type' => 'string',
+ 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
+ 'quick_form_type' => 'CheckBoxes',
+ 'html_type' => 'checkboxes',
+ 'pseudoconstant' => array(
+ 'callback' => 'CRM_Core_SelectValues::quicksearchOptions',
+ ),
+ 'default' => array('sort_name', 'contact_id', 'external_identifier', 'first_name', 'last_name', 'email', 'phone_numeric', 'street_address', 'city', 'postal_code', 'job_title'),
+ 'add' => '5.8',
+ 'title' => ts('Quicksearch options'),
+ 'is_domain' => '1',
+ 'is_contact' => 0,
+ 'description' => ts("Which fields can be searched on in the menubar quicksearch box? Don't see your custom field here? Make sure it is marked as Searchable."),
+ 'help_text' => NULL,
+ ),
);