Results 1 to 2 of 2

Thread: Customizing Unified Search in 5.5

  1. #1
    xadora is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    26

    Default Customizing Unified Search in 5.5

    Hello Sugar Community,

    according to
    http://www.sugarcrm.com/forums/showt...hlight=unified
    and
    http://www.sugarcrm.com/wiki/index.p..._be_searchable

    I successfully enhanced the unified search on a few SugarCRM 5.2 CE machines.


    That worked great, however not 100% upgrade safe.

    Now, since version 5.5 this doesnt work any more:

    Edit modules/Home/UnifiedSearchAdvanced.php and replace the line below:

    $supported_types = array('varchar', 'char', 'int'); // support data types
    with:
    $supported_types = array('varchar', 'char', 'int', 'text'); // support data types

    $supported_types is simply not set anymore in modules/Home/UnifiedSearchAdvanced.php.

    My questions now are: Where can i add other data types then varchar, char and int to the unified search. Is this still possible in Version 5.5 or greater?

    Many thanks,
    Ole
    Dr. Ole Goos
    Xadora GmbH

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

    Default Re: Customizing Unified Search in 5.5

    Hi Ole,

    I have recently upgraded from 5.2 to 5.5.1RC.

    I can't even seem to rebuild unified_search_modules.php in 5.5 . ( I did rebuild it once after rebuilding relationships but I can't repeat this and it was rubbish anyway not including anything from custom.php in Extensions )

    I have found a 'solution' for my upgraded system which is to copy the unified_search_modules.php over from my 5.2 system to my 5.5.1RC system and change permissions so it is not easily deleted.

    This 5.2 copy of unified_search_modules.php does still seem to let me search on text fields ( I had previously done the changes you refer to in 5.2 )

    However this seems a big loss, that adding fields to custom.php in the extension directory does not work after 5.5. ( You can add them to unified_search_modules.php )

    I am very nervous as to what is going to be removed next.

    Ole, if you can restore to the previous unified_search_modules.php, let me know if this works for you .

    Regards Julie
    Last edited by jjolliffe; 2010-03-03 at 08:59 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unified Search
    By danrweki in forum Developer Help
    Replies: 7
    Last Post: 2009-05-20, 04:11 PM
  2. Unified Search Problem (search in blob fields)
    By alans09 in forum Developer Help
    Replies: 2
    Last Post: 2009-05-06, 06:59 AM
  3. Unified Search
    By jsagar in forum Developer Help
    Replies: 5
    Last Post: 2008-08-13, 01:33 PM
  4. Customizing the Unified Search (Global Search)
    By jbeauchamp in forum Developer Help
    Replies: 0
    Last Post: 2008-05-14, 10:03 PM
  5. unified search
    By Jimbo in forum Developer Help
    Replies: 3
    Last Post: 2007-02-13, 03:25 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
  •