X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FSearch.setting.php;h=6cc84b3f6123e8de090df818de58835f7a0daa35;hb=ca9db99cb07ec5de2f5da858fe81f9b52330f4ce;hp=90faa869ee70d9d858429322c23c49e5246f12a1;hpb=7f943ee5de42b28405828b118700c96aad4516e5;p=civicrm-core.git diff --git a/settings/Search.setting.php b/settings/Search.setting.php index 90faa869ee..6cc84b3f61 100644 --- a/settings/Search.setting.php +++ b/settings/Search.setting.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2015 | + | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2015 + * @copyright CiviCRM LLC (c) 2004-2017 * $Id$ * */ @@ -197,4 +197,18 @@ return array( 'description' => 'If set, this will be the default profile used for contact search.', 'help_text' => NULL, ), + 'searchPrimaryDetailsOnly' => array( + 'group_name' => 'Search Preferences', + 'group' => 'Search Preferences', + 'name' => 'searchPrimaryDetailsOnly', + 'type' => 'Boolean', + 'quick_form_type' => 'YesNo', + 'default' => 1, + 'add' => '4.7', + 'title' => 'Search Primary Details Only', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => 'If enabled, only primary details (eg contact\'s primary email, phone, etc) will be included in Basic and Advanced Search results. Disabling this feature will allow users to match contacts using any email, phone etc detail.', + 'help_text' => NULL, + ), );