Results 1 to 2 of 2

Thread: process_union_list_query bug with offset

  1. #1
    Trelane is offline Junior Member
    Join Date
    Jul 2010
    Posts
    1

    Lightbulb process_union_list_query bug with offset

    Hi I'm not sure if you know about this or not, i discovered a bug with the target lists, when you go over 10 prospects and use the paging it doesnt work. (Using sugar 6 and Microsoft SQL)
    There is a bug in process_union_list_query.

    Shortly after:
    if($rows_found != 0 or $parent_bean->db->dbType != 'mysql')
    {
    It does:
    $index = $row_offset;

    This results in it trying to offset the search results which are already offset, (the results only contain 10 results) so on page 2 you get no data displayed.
    I simply swapped the line out for;
    $index = 0;
    and it is now displaying the paging data correctly.

    Best Regards,
    Mike

  2. #2
    jnassi's Avatar
    jnassi is offline Sugar Team Member
    Join Date
    Apr 2005
    Posts
    455

    Default Re: process_union_list_query bug with offset

    Thanks Mike. I submitted bug #38886 on your behalf.

    In the future, you can submit bugs at http://bugs.sugarcrm.com
    Jason Nassi
    SugarExchange.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. is it possible to retrieve the leads based on the offset id?
    By scvinodkumar in forum Developer Help
    Replies: 3
    Last Post: 2008-09-16, 02:12 PM
  2. Replies: 2
    Last Post: 2007-06-19, 08:33 PM
  3. Notice: Undefined offset: 1 in Form
    By hega72 in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2006-11-30, 10:22 AM
  4. Undefined offset - error
    By holdos in forum Help
    Replies: 0
    Last Post: 2006-03-22, 10:19 PM
  5. Time offset
    By spriggig in forum Feature Requests
    Replies: 1
    Last Post: 2005-01-06, 02:23 AM

Tags for this Thread

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
  •