Mysql 5.0.26
Sugarcrm : Version 5.2.0a (Build 5447)
Custom module : A Basic Module
I have added custom.php in custom/Extension/modules/Info_Information/Ext/Vardefs and rebuilt vardefs cache having removed cache/modules/unified_search_modules.php
<?php
$dictionary['Info_Information']['unified_search'] = true; // opts module in
$dictionary['Info_Information']['fields']['name']['unified_search'] = true;
$dictionary['Info_Information']['fields']['description']['unified_search'] = tr
ue;
?>
This works in part
a) adding the custom module to the search modules
b) Allows search on the name ( and other non-textarea fields )
HOWEVER it does not pick up records where the string is in the description field. I have added % either side of string and looked at the unified_search code and cannot see why it wouldn't work . Help
SHOULD IT WORK ? I can search easily in the database using phpadmin or mysql ( Not much good for end users )so why can't I find the record using sugar global Search ?
Thanks in Advance


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks