Results 1 to 4 of 4

Thread: Substring Search within Search-fields??

  1. #1
    krafft is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    16

    Default Substring Search within Search-fields??

    Hi there,

    is it possible to change the algorithm of searchfields in order to allow search for substrings?

    Example:
    Conmpany Name: ABC Associates
    Entering "Associates" into a search field does not produce any result. Instead I have to start the search with exact "ABC ...".

    As long as I know the detailed name of the company this does not cause any problem. However, with more than 2000 companies within CRM the search for a specific copmany becomes more and more often a nightmare.

    Is there a way to change this mechanism or would it rather be a feature request?

    Cheers,
    Krafft

  2. #2
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Substring Search within Search-fields??

    Quote Originally Posted by krafft
    Hi there,

    is it possible to change the algorithm of searchfields in order to allow search for substrings?

    Example:
    Conmpany Name: ABC Associates
    Entering "Associates" into a search field does not produce any result. Instead I have to start the search with exact "ABC ...".

    As long as I know the detailed name of the company this does not cause any problem. However, with more than 2000 companies within CRM the search for a specific copmany becomes more and more often a nightmare.

    Is there a way to change this mechanism or would it rather be a feature request?

    Cheers,
    Krafft
    Hi,

    Try using the follwoing format %Associates%, I think this will resolve your problem
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  3. #3
    niels is offline Sugar Community Member
    Join Date
    Jan 2006
    Location
    The Netherlands
    Posts
    10

    Default Re: Substring Search within Search-fields??

    Or if you want to modify the php code:

    http://www.sugarcrm.com/forums/showthread.php?t=15480

  4. #4
    krafft is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    16

    Default Re: Substring Search within Search-fields??

    Thanks for the quick replies!
    that definetly helps.

Thread Information

Users Browsing this Thread

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

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
  •