CRM-18958 add setting to control addion of limit to the dedupe screen.
[civicrm-core.git] / settings / Core.setting.php
index 73a444dcdc879dcb0d9af61a16d7e3a9dc3e98d4..f8fa1904bff9a1ca06c23ea02cfff89e3f1c8d61 100644 (file)
@@ -597,6 +597,8 @@ return array(
     'group' => 'core',
     'name' => 'resCacheCode',
     'type' => 'String',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
     'default' => NULL,
     'add' => '4.3',
     'title' => 'resCacheCode',
@@ -819,6 +821,8 @@ return array(
     'group' => 'core',
     'name' => 'site_id',
     'type' => 'String',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
     'default' => '',
     'add' => '4.6',
     'title' => 'Unique Site ID',
@@ -832,6 +836,8 @@ return array(
     'group' => 'core',
     'name' => 'systemStatusCheckResult',
     'type' => 'Integer',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
     'default' => 0,
     'add' => '4.7',
     'title' => 'systemStatusCheckResult',
@@ -881,4 +887,19 @@ return array(
       'callback' => 'CRM_Utils_Recent::getProviders',
     ),
   ),
+  'dedupe_default_limit' => array(
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'dedupe_default_limit',
+    'type' => 'Integer',
+    'default' => 0,
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
+    'add' => '4.7',
+    'title' => 'Default limit for dedupe screen',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => ts('Default to only loading matches against this number of contacts'),
+    'help_text' => ts('Deduping larger databases can crash the server. By configuring a limit other than 0 here the dedupe query will only search for matches against a limited number of contacts.'),
+  ),
 );