crm icon indicating copy to clipboard operation
crm copied to clipboard

Search contact by Email, only search for Primary Email

Open sadortun opened this issue 8 years ago • 1 comments

Hi Oro Team,

We have contacts with multiples emails image

Actual Behaviour

When searching for an email that is not the primaryEmail, there is no results image

Expected behaviour

  • Email is found and listed in the results
  • or; rename the filter criteria to Primary Email

Please let us know if you think this should be corrected, if so we can submit a PR

Thanks, Samuel

sadortun avatar Nov 02 '17 19:11 sadortun

Hi Samuel,

in datagrid configuration, indeed, we use primary email condition to fetch contact's email https://github.com/oroinc/crm/blob/master/src/Oro/Bundle/ContactBundle/Resources/config/oro/datagrids.yml#L209. In this case, in fact it can be misleading, so I suggest to change label to "Primary email". Btw. the same applies to "Phone" -> "Primary phone". Thanks for your contribution!

Regards, Daniel

dnahrebecki avatar Nov 03 '17 08:11 dnahrebecki