Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Search bug - need ideas for a fix

  1. #1
    hobbes is offline Member
    Join Date
    Oct 2006
    Posts
    7

    Default Search bug - need ideas for a fix

    We have used Studio to add Lead Source Description as one of the query fields available under Leads' Advanced Search. However this has resulted in advanced searches never returning any matches. It appears this is caused by Sugar including a space in the LSD input field. Manually removing this space each time an advanced search is made results in the proper results being displayed. Anyone know of a fix for this?

    We've just upgraded to 4.5.0h (build 1239) on linux with PHP5.2.0/MySQL5.0.32.

  2. #2
    hobbes is offline Member
    Join Date
    Oct 2006
    Posts
    7

    Default Re: Search bug - need ideas for a fix

    Another issue with the upgrade is that people bcc'd in messages are not getting them. Any thoughts on a fix for this is also appreciated.

  3. #3
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Search bug - need ideas for a fix

    Quote Originally Posted by hobbes
    We have used Studio to add Lead Source Description as one of the query fields available under Leads' Advanced Search. However this has resulted in advanced searches never returning any matches. It appears this is caused by Sugar including a space in the LSD input field. Manually removing this space each time an advanced search is made results in the proper results being displayed. Anyone know of a fix for this?

    We've just upgraded to 4.5.0h (build 1239) on linux with PHP5.2.0/MySQL5.0.32.
    You would have to edit your SearchForm.html file and remove the space from there.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  4. #4
    cHEK is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    15

    Default Re: Search bug - need ideas for a fix

    I am having the same problem. The description field is not searching properly. I looked over SearchForm.php and nothing jumped out at me.

    Were is the SearchForm.html file located?

  5. #5
    hobbes is offline Member
    Join Date
    Oct 2006
    Posts
    7

    Default Re: Search bug - need ideas for a fix

    Thanks kbrill. Shortly after my last post I noticed the space in the textarea tag and manually removed. Am guessing however that future changes via Studio will require this manual change each time...

    cHEK - the file is in modules/Leads/.

  6. #6
    Subrat is offline Sugar Community Member
    Join Date
    Dec 2006
    Posts
    36

    Post Re: Search bug - need ideas for a fix

    Hello everybody

    i m having thye same problem , that i hv added 5 more options in the lead status (drop down). the options are available in (lead information) but in advance search form only the default options are available not the extra options. while i published the search form also at the same time when i publish the (edit view & detail view) . i think the problem with the search form of the lead module.. i m very much exited to know that , is there any other way to publish this search form of lead module..

    Thanx
    Subrat

  7. #7
    cHEK is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    15

    Default Re: Search bug - need ideas for a fix

    Ok I found a space in

    title='{DESCRIPTION_HELP}'}>{DESCRIPTION} </textarea>

    now:
    title='{DESCRIPTION_HELP}'}>{DESCRIPTION}</textarea>

    The search works however it only will capture the results that have the search description term as their first word.

    So if I search for "I" and someone has "I like leads" it will find it. However a search for "like" would render nothing.

    Ideas?

  8. #8
    cHEK is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    15

    Default Re: Search bug - need ideas for a fix

    It seems all my Search feilds have this bug. They will only retrieve a record if the search term is the first word in the string.

    Is anyone else seeing this?

  9. #9
    cHEK is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    15

    Default Re: Search bug - need ideas for a fix

    I have been looking through files trying to find a potential error and still no success getting the search form to work properly. If anyone has some tips I would really appreciate it.

  10. #10
    Raven is offline Member
    Join Date
    Dec 2006
    Posts
    6

    Default Re: Search bug - need ideas for a fix

    look in SearchFrom.php, the main idea of a Search it look in database string 'value%' , so if your word is in the between other two word the search will not find it, cause it needs to be '%value%' so it could search it right in a database.

    we solved this problem by adding a new operator like and its value = '%value%', which searches in description. if need some example source PM me.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Fix for the Phone Number Search bug
    By kbrill in forum Downloads
    Replies: 7
    Last Post: 2007-06-27, 05:20 PM
  2. Advanced Bug Search broken in OS 4.0
    By andreasw in forum Help
    Replies: 3
    Last Post: 2006-06-22, 01:27 PM
  3. BUG In Search/Edit Layout???
    By tj@estreet.com in forum Help
    Replies: 13
    Last Post: 2006-06-10, 05:43 AM
  4. Export Search results (bug??)
    By dkikalis in forum Feature Requests
    Replies: 0
    Last Post: 2005-10-20, 10:49 AM
  5. BUG: Leads Advanced Search with checkbox
    By bugtracer in forum Developer Help
    Replies: 1
    Last Post: 2005-09-30, 01:53 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
  •