AnsweredAssumed Answered

How to get the exact matched contact on the top of the results when searching on first and last name combined in contacts relationship field

Question asked by pooja pooja on Jul 28, 2015
Latest reply on Jul 12, 2016 by Marc Hernandez
Sugarcrm 7.6.0.0 Professional

I am unable to get the exact matched contact on the top of the search results when searching on first name and last name combined when I am in create/edit view of another module (say Notes) which has a relationship with the Contacts module, see screenshot: http://cl.ly/image/0j0p1Y1P3n2M

Steps to reproduce:
1. Open create view of a module that has some relationship defined with the Contacts module.
2. Click on the 'Select Contact' drop down.
3. Type in the first name and the last name of the contact you want to associate in the search box.
The result list returned doesn't shows the exact matched contact on the top.

I also tried searching using double quotes or "leo+hansen" or "leo & hansen", "leo && hansen" but nothing worked.

Any ideas, how can this be improved so that I don't have to load more search result pages to get the exact match?

I also see similar behavior in contacts list view search but I can use filters there to further limit the result set. The global search works as expected though. See screenshot: http://cl.ly/image/3W3D1Y1e2Y2x

Outcomes