[Vtigercrm-developers] Probable bug with Search?

Prasad prasad at vtiger.com
Thu Feb 11 01:52:03 PST 2010

Hi Alan,

"Patricia Johnson" is combination of (firstname, lastname) fields. Hence the
search fails, but
splitting the value succeeds in either firstname or lastname.

Providing search on combination of fields might not be generic, the solution
could end-up
specific or targeted on few fields which needs to be thought about.

Look at modules/Home/UnifiedSearch.php which handles the Global Search
you will need to customize the query generated to lookup on combination of

vtiger Team

On 2/11/10, Alan Lord (News) <alanslists at gmail.com> wrote:
> Is this what most of you would classify as a bug?
> Using the search facility in vtiger, if you search for the name of a
> person using both first & last names it fails to find a match.
> Example:
> In the demo data there is a lead who is called Patricia Johnson.
> In the search tool If you search for "Patricia" *or* "Johnson" then it's
> fine.
> However, if you search for "Patricia Johnson" it fails to find a match.
> To be honest I was pretty amazed by this. I kind of understand why it is
> the case, but surely, when you have a large database, searching for
> combinations of fields would be fairly common practice?
> Should this go on Track? I might try and create a patch before
> submitting it. But without looking at the code yet am not sure how much
> work this would entail to fix.
> Cheers
> Al
> --
> The Open Learning Centre
> http://www.theopenlearningcentre.com
> _______________________________________________
> Reach hundreds of potential candidates - http://jobs.vtiger.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20100211/6072520e/attachment-0002.html 

More information about the vtigercrm-developers mailing list