Merge pull request #21612 from civicrm/5.42
[civicrm-core.git] / settings / Search.setting.php
index c9a02e963e4cff03120890ab9360a8e3526e03e2..9766a3c9f45628185fa73ea92353377054345e75 100644 (file)
@@ -13,8 +13,6 @@
  *
  * @package CRM
  * @copyright CiviCRM LLC https://civicrm.org/licensing
- * $Id$
- *
  */
 /*
  * Settings metadata file
@@ -230,4 +228,24 @@ return [
     '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,
   ],
+  'default_pager_size' => [
+    'group_name' => 'Search Preferences',
+    'group' => 'Search Preferences',
+    'name' => 'default_pager_size',
+    'type' => 'Integer',
+    'quick_form_type' => 'Element',
+    'html_type' => 'text',
+    'html_attributes' => [
+      'size' => 2,
+      'maxlength' => 3,
+    ],
+    'default' => 50,
+    'add' => '5.39',
+    'title' => ts('Default Search Pager size'),
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => ts('What is the default number of records to show on a search'),
+    'help_text' => NULL,
+  ],
+
 ];