CRM-4287: Change setting name from "searchPrimaryLocTypes" to "searchPrimaryDetailsOnly".
authorChris Burgess <chris@fuzion.co.nz>
Fri, 3 Feb 2017 08:15:55 +0000 (21:15 +1300)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Fri, 3 Feb 2017 09:26:09 +0000 (14:56 +0530)
commita3fccfc71200bd1cd38abeeeb38711e9cbe7ef0f
treed9a784f7e0a10ce1f79f89fe3720972c2ca8a634
parent9349bcf79da55322a0cb3ab727422ab47903abed
CRM-4287: Change setting name from "searchPrimaryLocTypes" to "searchPrimaryDetailsOnly".

Location types are not primaries, contact could have several emails of any location type but only one email (not location type) should be their "primary".
CRM/Admin/Form/Setting/Search.php
CRM/Contact/BAO/Query.php
settings/Search.setting.php
templates/CRM/Admin/Form/Setting/Search.tpl
tests/phpunit/CRM/Contact/BAO/QueryTest.php