d970d08a669819f24fa29aaf62abc1843d04ac33
3 +--------------------------------------------------------------------+
4 | CiviCRM version 4.7 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2017 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
31 * @copyright CiviCRM LLC (c) 2004-2017
36 * Settings metadata file
39 'search_autocomplete_count' => array(
40 'group_name' => 'Search Preferences',
41 'group' => 'Search Preferences',
42 'name' => 'search_autocomplete_count',
44 'quick_form_type' => 'Element',
45 'html_type' => 'text',
46 'html_attributes' => array(
52 'title' => 'Autocomplete Results',
55 'description' => 'The maximum number of contacts to show at a time when typing in an autocomplete field.',
58 'enable_innodb_fts' => array(
59 'group_name' => 'Search Preferences',
60 'group' => 'Search Preferences',
61 'name' => 'enable_innodb_fts',
63 'quick_form_type' => 'YesNo',
66 'title' => 'InnoDB Full Text Search',
69 'description' => "Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)",
72 array('CRM_Core_InnoDBIndexer', 'onToggleFts'),
75 'fts_query_mode' => array(
76 'group_name' => 'Search Preferences',
77 'group' => 'Search Preferences',
78 'name' => 'fts_query_mode',
80 'quick_form_type' => 'Element',
81 'html_attributes' => array(
85 'html_type' => 'Text',
86 'default' => 'simple',
88 'title' => 'How to handle full-tet queries',
91 'description' => NULL,
94 'includeOrderByClause' => array(
95 'group_name' => 'Search Preferences',
96 'group' => 'Search Preferences',
97 'name' => 'includeOrderByClause',
99 'quick_form_type' => 'YesNo',
102 'title' => 'Include Order By Clause',
105 'description' => 'If disabled, the search results will not be ordered. This may improve response time on search results on large datasets',
108 'includeWildCardInName' => array(
109 'group_name' => 'Search Preferences',
110 'group' => 'Search Preferences',
111 'name' => 'includeWildCardInName',
113 'quick_form_type' => 'YesNo',
116 'title' => 'Automatic Wildcard',
119 'description' => "If enabled, wildcards are automatically added to the beginning AND end of the search term when users search for contacts by Name. EXAMPLE: Searching for 'ada' will return any contact whose name includes those letters - e.g. 'Adams, Janet', 'Nadal, Jorge', etc. If disabled, a wildcard is added to the end of the search term only. EXAMPLE: Searching for 'ada' will return any contact whose last name begins with those letters - e.g. 'Adams, Janet' but NOT 'Nadal, Jorge'. Disabling this feature will speed up search significantly for larger databases, but users must manually enter wildcards ('%' or '_') to the beginning of the search term if they want to find all records which contain those letters. EXAMPLE: '%ada' will return 'Nadal, Jorge'.",
122 'includeEmailInName' => array(
123 'group_name' => 'Search Preferences',
124 'group' => 'Search Preferences',
125 'name' => 'includeEmailInName',
127 'quick_form_type' => 'YesNo',
130 'title' => 'Include Email',
133 'description' => 'If enabled, email addresses are automatically included when users search by Name. Disabling this feature will speed up search significantly for larger databases, but users will need to use the Email search fields (from Advanced Search, Search Builder, or Profiles) to find contacts by email address.',
136 'includeNickNameInName' => array(
137 'group_name' => 'Search Preferences',
138 'group' => 'Search Preferences',
139 'name' => 'includeNickNameInName',
141 'quick_form_type' => 'YesNo',
144 'title' => 'Include Nickname',
147 'description' => 'If enabled, nicknames are automatically included when users search by Name.',
150 'includeAlphabeticalPager' => array(
151 'group_name' => 'Search Preferences',
152 'group' => 'Search Preferences',
153 'name' => 'includeAlphabeticalPager',
155 'quick_form_type' => 'YesNo',
158 'title' => 'Include Alphabetical Pager',
161 'description' => 'If disabled, the alphabetical pager will not be displayed on the search screens. This will improve response time on search results on large datasets.',
164 'smartGroupCacheTimeout' => array(
165 'group_name' => 'Search Preferences',
166 'group' => 'Search Preferences',
167 'name' => 'smartGroupCacheTimeout',
169 'quick_form_type' => 'Element',
170 'html_type' => 'text',
173 'title' => 'Smart group cache timeout',
176 'description' => 'The number of minutes to cache smart group contacts. We strongly recommend that this value be greater than zero, since a value of zero means no caching at all. If your contact data changes frequently, you should set this value to at least 5 minutes.',
179 'defaultSearchProfileID' => array(
180 'group_name' => 'Search Preferences',
181 'group' => 'Search Preferences',
182 'name' => 'defaultSearchProfileID',
184 'quick_form_type' => 'Select',
185 'html_type' => 'Select',
186 'html_attributes' => array(
187 'class' => 'crm-select2',
189 'pseudoconstant' => array(
190 'callback' => 'CRM_Admin_Form_Setting_Search::getAvailableProfiles',
194 'title' => 'Default Contact Search Profile',
197 'description' => 'If set, this will be the default profile used for contact search.',
200 'searchPrimaryLocTypes' => array(
201 'group_name' => 'Search Preferences',
202 'group' => 'Search Preferences',
203 'name' => 'searchPrimaryLocTypes',
205 'quick_form_type' => 'YesNo',
208 'title' => 'Search Primary Location Types Only',
211 'description' => 'If enabled, only primary location types(email, phone, etc.) will be included in Basic and Advanced Search results. Disabling this feature will allow users to search by any location type values attached to the contact.',