Merge pull request #4274 from mrpaulc/CRM-14868
[civicrm-core.git] / CRM / Admin / Form / Setting / Search.php
index 6c7fe79572de17498b4a356ea090234f2a6ec466..792845db2ecd2b564c4c26e542d68b5297d64751 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -41,6 +41,7 @@ class CRM_Admin_Form_Setting_Search extends CRM_Admin_Form_Setting {
 
   protected $_settings = array(
     'search_autocomplete_count' => CRM_Core_BAO_Setting::SEARCH_PREFERENCES_NAME,
+    'enable_innodb_fts' => CRM_Core_BAO_Setting::SEARCH_PREFERENCES_NAME,
   );
 
   /**
@@ -67,8 +68,7 @@ class CRM_Admin_Form_Setting_Search extends CRM_Admin_Form_Setting {
     $profiles = CRM_Core_BAO_UFGroup::getProfiles($types);
 
     $this->add('select', 'defaultSearchProfileID', ts('Default Contact Search Profile'),
-      array(
-        '' => ts('- select -')) + $profiles
+      array('' => ts('- none -')) + $profiles, FALSE, array('class' => 'crm-select2 huge')
     );
 
     // Autocomplete for Contact Search (quick search etc.)