CRM-14811 - FullText - Register setting ("fts_query_mode")
[civicrm-core.git] / settings / Search.setting.php
index 5d1e1a41022cab0794732f2bd857f16238666416..675ed195987a42185b3a85d043a920043fb6985d 100644 (file)
@@ -56,4 +56,26 @@ return array (
     'description' => 'The maximum number of contacts to show at a time when typing in an autocomplete field.',
     'help_text' => null,
   ),
+  'fts_query_mode' => array(
+    'group_name' => 'Search Preferences',
+    'group' => 'Search Preferences',
+    'name' => 'fts_query_mode',
+    'prefetch' => 0,
+    'config_only'=> 0,
+    'type' => 'String',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
+    'html_attributes' => array(
+      'size' => 64,
+      'maxlength' => 64,
+    ),
+    'html_type' => 'Text',
+    'default' => 'simple',
+    'add' => '4.5',
+    'title' => 'How to handle full-tet queries',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => null,
+    'help_text' => null,
+  ),
 );