From effb18d4ed8a9c6562366544971fa146ca175df6 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 16 Jun 2014 17:21:32 -0700 Subject: [PATCH] CRM-14811 - Move enable_innodb_fts from "Admin => Misc" to "Admin => Search Prefs" --- CRM/Admin/Form/Setting/Miscellaneous.php | 1 - CRM/Admin/Form/Setting/Search.php | 1 + templates/CRM/Admin/Form/Setting/Miscellaneous.tpl | 6 ------ templates/CRM/Admin/Form/Setting/Search.tpl | 8 ++++++++ 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CRM/Admin/Form/Setting/Miscellaneous.php b/CRM/Admin/Form/Setting/Miscellaneous.php index 11b6f222c9..1c357d9caf 100644 --- a/CRM/Admin/Form/Setting/Miscellaneous.php +++ b/CRM/Admin/Form/Setting/Miscellaneous.php @@ -48,7 +48,6 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting { 'maxFileSize' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'doNotAttachPDFReceipt' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'secondDegRelPermissions' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, - 'enable_innodb_fts' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, ); /** diff --git a/CRM/Admin/Form/Setting/Search.php b/CRM/Admin/Form/Setting/Search.php index a3c49840e7..a6673f6988 100644 --- a/CRM/Admin/Form/Setting/Search.php +++ b/CRM/Admin/Form/Setting/Search.php @@ -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::SYSTEM_PREFERENCES_NAME, ); /** diff --git a/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl b/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl index a06f3be5be..20fa6e82fe 100644 --- a/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl +++ b/templates/CRM/Admin/Form/Setting/Miscellaneous.tpl @@ -104,12 +104,6 @@ - - {$form.enable_innodb_fts.label} - {$form.enable_innodb_fts.html}
-

{$enable_innodb_fts_description}

- -

{ts}reCAPTCHA Keys{/ts}

diff --git a/templates/CRM/Admin/Form/Setting/Search.tpl b/templates/CRM/Admin/Form/Setting/Search.tpl index 30e594b6c6..a1618027f7 100644 --- a/templates/CRM/Admin/Form/Setting/Search.tpl +++ b/templates/CRM/Admin/Form/Setting/Search.tpl @@ -77,6 +77,14 @@ {$form.search_autocomplete_count.html}
{ts}The maximum number of contacts to show at a time when typing in an autocomplete field.{/ts} + + {$form.enable_innodb_fts.label} + {$form.enable_innodb_fts.html}
+

{$enable_innodb_fts_description}

+ + + +
{include file="CRM/common/formButtons.tpl" location="bottom"}
-- 2.25.1