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/datasetinfo.php

    r9486 r9498  
    1515                $statusgroups++;
    1616
    17         $query0 = "SELECT ";
     17        $query0 = "SELECT SQL_CALC_FOUND_ROWS ";
    1818
    1919        if ($groups>0)
     
    372372
    373373        $result0 = mysql_query($query0, $db_id);
     374        $result1 = mysql_query("SELECT FOUND_ROWS()", $db_id);
    374375
    375376        if ($result0)
    376377        {
    377378            if ($html=="1" || $html=="2")
    378                 PrintMagicTable($result0, $alias, $rightalign, "", "", "", "", $_GET);
     379                PrintMagicTable($result0, $alias, $rightalign, "", "", "", $result1);
    379380            else
    380381                PrintText($result0);
    381382
    382383            mysql_free_result($result0);
     384            mysql_free_result($result1);
    383385        }
    384386        mysql_close($db_id);
Note: See TracChangeset for help on using the changeset viewer.