Results 1 to 3 of 3

Thread: listview is empty

  1. #1
    lobby is offline Member
    Join Date
    Dec 2008
    Posts
    5

    Default listview is empty

    Hello,
    I have imported a lot of data to the acounts and contacts modules. But the listview is empty, but the entries are in the database. If I check the data in detailview, I can see it.
    The searchfilters are empty, too. Does anybody know this problem?

  2. #2
    sugarcane is offline Sugar Community Member
    Join Date
    Apr 2005
    Location
    Chicago, IL
    Posts
    1,207

    Default Re: listview is empty

    Hello,

    what version of Sugar are you using? For 5.1, click the clear button and then click the Search button and see if anything comes up.

    You might also want to check in Admin-->System Settings and check to setting for the 'Listview Items per Page'. This determines how many records are to be displayed on each listview page.
    Intelestream has a great deal of experience hosting and customizing the SugarCRM application. Our company is made up by former employees of SugarCRM, and together we have over 50 years of experience working with the application. To learn more about us, please visit our website at www.intelestream.net or contact us directly at 800-391-4055 or by email at info@intelestream.net

  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: listview is empty

    Hi lobby

    If you click on Clear at the Search Form does the ListView return all the 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 Accounts ListView and try to do a Search.
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2009-09-13, 11:22 AM
  2. Empty PDF quotes
    By KISSsoft in forum Help
    Replies: 3
    Last Post: 2008-04-29, 01:54 PM
  3. Replies: 14
    Last Post: 2008-03-07, 10:18 AM
  4. Contents of Accounts Listview Empty
    By moff40 in forum Help
    Replies: 1
    Last Post: 2008-01-28, 08:45 PM
  5. Empty Projects
    By magicdan in forum General Discussion
    Replies: 0
    Last Post: 2006-02-17, 09:03 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
  •