Hi,
I confirmed by printing the query and seems it is wrong in Sugar.
In your project's searchdefs.php there will be a code like
PHP Code:
'assigned_user_name' =>
array (
'type' => 'relate',
'link' => 'users',
'label' => 'LBL_ASSIGNED_USER_NAME',
'width' => '10%',
'default' => true,
'name' => 'assigned_user_name',
),
Comment it and add the following
PHP Code:
'assigned_user_id' =>
array (
'name' => 'assigned_user_id',
'type' => 'enum',
'label' => 'LBL_ASSIGNED_TO',
'function' =>
array (
'name' => 'get_user_array',
'params' =>
array (
0 => false,
),
),
),
Bookmarks