X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FSearch.setting.php;h=6cc84b3f6123e8de090df818de58835f7a0daa35;hb=6f7d5a1fecedd29fe33c708e45015015d0b1372b;hp=71f6e677d6dc5426945d0944f460a8eee5511ee7;hpb=d0fcf9dfefc3d387ebcc155521c727de22a7a718;p=civicrm-core.git diff --git a/settings/Search.setting.php b/settings/Search.setting.php index 71f6e677d6..6cc84b3f61 100644 --- a/settings/Search.setting.php +++ b/settings/Search.setting.php @@ -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, + ), );