Results 1 to 5 of 5

Thread: No search results for Calls

  1. #1
    milkesd is offline Member
    Join Date
    Jan 2010
    Posts
    19

    Default No search results for Calls

    I know there are calls in the database, but no matter what I search on, I either get no results under the Call List section or the Call List section does not appear at all. I was having a problem with the Quick Create area because one of the fields was sticking into the main frame, so I added a php file to hide it, called view.sidequickcreate.php, on the advice of a senior member here. But I get the same problem with or without the Quick Create.

    Using CE 5.5.0, Windows Server 2003, PHP version unknown.

    Thanks.

  2. #2
    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: No search results for Calls

    Hi milkesd

    Follow my tips here and let us know both query and error returned by your database.

    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.

  3. #3
    milkesd is offline Member
    Join Date
    Jan 2010
    Posts
    19

    Default Re: No search results for Calls

    The query is

    Code:
    SELECT calls.id ,calls_cstm.account_name_c,calls_cstm.contact_c, calls.status , calls.direction , calls.name , ISNULL(contacts.first_name,'') + ' ' + ISNULL(contacts.last_name,'') contact_name, jtl0.contact_id contact_id, calls.parent_id , calls.parent_type , calls.date_start , jt1.user_name assigned_user_name , jt1.created_by assigned_user_name_owner , 'Users' assigned_user_name_mod, calls.assigned_user_id FROM calls LEFT JOIN calls_cstm ON calls.id = calls_cstm.id_c LEFT JOIN calls_contacts jtl0 ON calls.id=jtl0.call_id AND jtl0.deleted=0 LEFT JOIN contacts contacts ON contacts.id=jtl0.contact_id AND contacts.deleted=0 AND contacts.deleted=0 LEFT JOIN users jt1 ON jt1.id= calls.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 where ((calls.name like '%%')) AND calls.deleted=0
    but I am running MSSQL, not MySQL, so I can't use phpMyAdmin. Do you know of an alternative for me? Running the query from my usual tool does not produce an error, which you probably expect.

    Thanks.

  4. #4
    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: No search results for Calls

    I´m sure you can run this query on MSSQL manager in order to evaluate if this query is wrong.

    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.

  5. #5
    milkesd is offline Member
    Join Date
    Jan 2010
    Posts
    19

    Default Re: No search results for Calls

    Running MS SQL ServerMgt Studio, I do not get an error. I also noticed that if I search by subject '*' , the Mass Update and Call List sections appear, but no results, but if I try anything else I don't see anything.

    I apologize that I have two threads for what is probably the same issue (see here). What are the possible global preferences that could be causing this?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Inconsistent search results
    By halebopp in forum Help
    Replies: 2
    Last Post: 2008-09-24, 07:57 PM
  2. Search Results Not Displayed
    By richard.brookes in forum Help
    Replies: 2
    Last Post: 2007-05-28, 05:37 AM
  3. Search results more than 20 lines
    By hheckner in forum General Discussion
    Replies: 4
    Last Post: 2006-09-22, 11:05 AM
  4. Can't display all with search results
    By transite in forum Help
    Replies: 0
    Last Post: 2006-06-15, 01:29 PM
  5. Save search results
    By fredmonac in forum Help
    Replies: 0
    Last Post: 2005-02-15, 04:52 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
  •