Results 1 to 8 of 8

Thread: Can't search by account name

  1. #1
    gerald29 is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    34

    Default Can't search by account name

    hello all,
    i have just imported over 4000 leads into sugar. When i go to the leads module though and try to do a search based on the account name, it comes back with nothing. even if i search by the exact name with the case the same, it still refuses to bring back any results. I can search by all other items though, just not account name. any ideas?
    SugarCRM 5.1.0c
    Windows Server 2003 R2
    XAMPP Installation
    Apache / MySQL

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Can't search by account name

    What happens if you edit the name of one of the accounts that you are unable to find via the search, just to commit the name manually versus what the import did, then try to search for that record?

    Perhaps the import process included some trailing characters that you are unable to see on the screen.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Can't search by account name

    Hi Gerald

    If you click on Clear at the Search Form does the ListView return all the Cases entries?
    If you search for another field does the ListView returns correctly?

    If yes for both then you can edit the file include/ListView/ListViewData.php and add the line:

    PHP Code:
    echo "<PRE>$main_query"
    Just after the line:

    PHP Code:
    $main_query $ret_array['select'] . $params['custom_select'] . $ret_array['from'] . $params['custom_from'] . $ret_array['where'] . $params['custom_where'] . $ret_array['order_by'] . $params['custom_order_by']; 
    Then go to Cases ListView and try to do a Search by account_name.
    If the ListView return no data, just a query string, copy it and paste to the phpMyAdmin and execute it there.
    Probably it will return an error, it will guide you to solve the error.

    Let us know the query string and the error.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Can't search by account name

    Also try a quick repair or rebuild indexes in admin/repair, maybe the index wasn't contructed correctly. You may also search for a string like %part of the name% in order to exclude hidden leading characters as Angel said.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    pkranz is offline Sugar Community Member
    Join Date
    Jun 2006
    Posts
    13

    Default Re: Can't search by account name

    If you are using Sugar version 5.1.0-RC or 5.1.0a, account name search will fail if you have accounts setup that are children of a parent account, its also present in some earlier releases. This is due to bug# 23291 and bug# 25401 which keeps getting fixed and re-broken again from release to release for most of this year.

  6. #6
    WERru is offline Junior Member
    Join Date
    Nov 2008
    Location
    Russia, Saint-petersburg
    Posts
    1

    Default Re: Can't search by account name

    same problem, but i'm not import anything
    adice from andopes don't help
    sync database done

    SugarCRM 5.1b

  7. #7
    niccl is offline Junior Member
    Join Date
    Nov 2008
    Posts
    2

    Default Re: Can't search by account name

    The problem exists in 5.0b too.

    This may be relevant.

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

  8. #8
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Can't search by account name

    Quote Originally Posted by WERru
    same problem, but i'm not import anything
    adice from andopes don't help
    sync database done

    SugarCRM 5.1b
    Did you copy the query displayed into ListView to the phpMyAdmin?
    i believe phpMyAdmin will warn an error message.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lead Search >> account name searches account module in 5.0!
    By lowJack01 in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2008-06-11, 05:12 PM
  2. Custom search in Account Popup
    By jungler in forum Developer Help
    Replies: 0
    Last Post: 2008-04-14, 01:00 AM
  3. Replies: 0
    Last Post: 2004-11-03, 02:17 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
  •