Ignore:
Timestamp:
08/20/09 14:43:59 (15 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/db/sequinfo-aio.php

    r9486 r9498  
    1515                $statusgroups++;
    1616
    17         $query0 = "SELECT ";
     17        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    1818
    1919        if ($groups>0 || ((!empty($_GET["fGroupByDate"])) && !$_GET["fGroupByDate"]==0) || $statusgroups>0)
     
    397397
    398398        $result0 = mysql_query($query0, $db_id);
     399        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    399400
    400401        if ($result0)
    401402        {
    402403            if ($html=="1" || $html=="2")
    403                 PrintMagicTable($result0, $alias, $rightalign, $limitsmean, $limitsmin, $limitsmax, "", $_GET);
     404                PrintMagicTable($result0, $alias, $rightalign, $limitsmean, $limitsmin, $limitsmax, $result1, "");
    404405            else
    405406                PrintText($result0);
    406407
    407408            mysql_free_result($result0);
     409            mysql_free_result($result1);
    408410        }
    409411        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.