Results 1 to 4 of 4

Thread: Global Search appears as if it is not working with TextArea fields

  1. #1
    jjolliffe is offline Sugar Community Member
    Join Date
    Jan 2009
    Posts
    24

    Question Global Search appears as if it is not working with TextArea fields

    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

  2. #2
    sugarcane is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,207

    Default Re: Global Search appears as if it is not working with TextArea fields

    Hello,

    take a look at this wiki article. You will need to also modify the modules/Home/UnifiedSearchAdvanced.php file and delete cache/modules/unified_search_modules.php.
    Intelestream has a great deal of experience hosting and customizing the SugarCRM application. Our company is made up by former employees of SugarCRM, and together we have over 50 years of experience working with the application. To learn more about us, please visit our website at www.intelestream.net or contact us directly at 800-391-4055 or by email at info@intelestream.net

  3. #3
    jjolliffe is offline Sugar Community Member
    Join Date
    Jan 2009
    Posts
    24

    Default Re: Global Search appears as if it is not working with TextArea fields

    Works a treat.

    Thanks for that the first part of the article was enough .

    I thought the problem may well lie in the UnifiedSearch .

    I see text type is still missing in 5.5.

    ( In 5.2 description not in vardefs.php as per above article but I put it into custom.php and rebuilt vardefs having deleted the cached unified Search. )



    Julie Jolliffe

    www.sire.co.uk
    Help to save paper - aspire to the paperless office.

  4. #4
    naisan is offline Member
    Join Date
    Jul 2009
    Posts
    12

    Default Re: Global Search appears as if it is not working with TextArea fields

    Is there any way to take a non-tabbed module (like Tasks) and make them searchable? I've implemented the changed in the wiki above and in another wiki page, but that's not enough to enable it in global search.

    What's missing to enable global search to search through non-tab modules?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 25
    Last Post: 2010-11-10, 11:51 AM
  2. Replies: 6
    Last Post: 2008-11-13, 05:25 AM
  3. Replies: 0
    Last Post: 2008-11-11, 12:21 AM
  4. global search for tasks not working
    By shriya in forum Help
    Replies: 1
    Last Post: 2005-05-18, 08:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •