Details
-
Type:
Bug
-
Status: To Backport
-
Priority:
Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.4
-
Fix Version/s: 4.3.5
-
Component/s: Core CiviCRM
-
Labels:None
Description
Steps to reproduce:
- Create a record in which the contact has one phone, that is primary, of type mobile.
- Create a profile for use as a search view.
- Add a phone field to the profile, with location set to "primary" and phone type set to "mobile"
- Perform a search that will return the record you created and select your profile as the search view.
The results will not display a phone number. However, since I chose "primary" as the location, I expect to see mobile phone listed since it's the primary phone.
The UI is confusing in this context since the UI for creating a phone field forces you to choose a phone type, even if you have select "primary" as the phone location.
The built-in search results always show the primary phone, regardless of type. So, I think the correct fix is to do the same with profile search views as well. In other words, if the phone field location is primary, ignore the phone type.