Results 1 to 4 of 4

Thread: some problems with search

  1. #1
    rymfiltre is offline Sugar Community Member
    Join Date
    May 2008
    Posts
    14

    Default some problems with search

    Hi everybody i want to thank you for all your help that really help me
    i come here with a new question about the search function
    is it possible to make the search not only in beging of the field but anywhere in this field
    i explain what i want to do with a exemlpe :
    the value in the field is : "sugarcrm" and when i search with "crm" i have got nothing in the result
    is it possible to change this ? if yes who ?
    thank you

  2. #2
    robertbmirth is offline Sugar Community Member
    Join Date
    Jun 2010
    Location
    Irvine, CA
    Posts
    345

    Default Re: some problems with search

    You can use the '%' character as a wildcard character. So searching '%crm' would find 'sugarcrm.'
    Robert Beckman
    Software Engineer
    Mirth Corporation

  3. #3
    terencelhl's Avatar
    terencelhl is offline Sugar Community Member
    Join Date
    Sep 2005
    Location
    Seri Kembangan, Selangor, Malaysia
    Posts
    43

    Question Re: some problems with search

    Quote Originally Posted by robertbmirth View Post
    You can use the '%' character as a wildcard character. So searching '%crm' would find 'sugarcrm.'
    Dear Robert,

    Does this include searching the street names? e.g. Street 1, 2, 3, etc.

    From the newly installed sugar 6.0.3 with populated demo data, I can't get any result.
    Thank you.

    Regards,

    Terence Loo

  4. #4
    robertbmirth is offline Sugar Community Member
    Join Date
    Jun 2010
    Location
    Irvine, CA
    Posts
    345

    Default Re: some problems with search

    Yes, it should, and its working for me. Make sure your search is cleared before you start - one kinda annoying thing about sugar's search is that its persistent so if you had a previous search (no matter how old) you're still searching for it unless you changed the fields or hit the clear button.

    As I understand it (I can't verify this) and if you know anything about sql, the search is doing a 'like' comparison in the 'where' clause to find its results. I don't know if the '%' wildcard is universal to sql, so if you have anything besides mysql this also may be the source of the problem.
    Robert Beckman
    Software Engineer
    Mirth Corporation

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Some problems with the search
    By rymfiltre in forum Developer Tools
    Replies: 5
    Last Post: 2011-10-19, 06:19 PM
  2. Problems with forum search
    By TheBishopOfSoho in forum Site feedback
    Replies: 1
    Last Post: 2009-05-28, 04:35 PM
  3. Search problems version 4.5.1b
    By gkomnin in forum Help
    Replies: 3
    Last Post: 2007-04-11, 10:57 AM
  4. Problems with the Global Search
    By mbn in forum Feature Requests
    Replies: 0
    Last Post: 2004-12-27, 07:48 AM

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
  •