Bug #152
Search type in SugarCRM not effetive
| Status: | Closed | Start: | 06/24/2009 | ||
|---|---|---|---|---|---|
| Priority: | Normal | Due date: | |||
| Assigned to: | patrick_elx | % Done: | 80% |
||
| Category: | - | ||||
| Target version: | Caller ID Superfecta v 2.1.X Maintenance Releases |
Description
Even if you set the search type to 2 in freepbx (0 is for account, 1 is for account +users, 2 is for account+users+contact)
only account is used for lookup, phone number in users or contact database are not looked up.
Also as a small display bug, in my freepbx the search type drop down box shows a blank line between each choice. (I've checked however in the superfecta mysql table that the choice was properly set)
Here's my fix:
in source-SugerCRM.php
replace the two:
if($wsearch_type >=
by
if($param['SugarCRM']['Search_Type'] >=
History
Updated by patrick_elx over 2 years ago
- % Done changed from 0 to 80
The change of the code was made by jacobsj in rev 107.
Just still need to change line 25 with the proper comment:
0:account lookup, 1: account and users lookup, 2: account, users and contact lookup