mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
update
This commit is contained in:
parent
74040b0444
commit
459fceb00f
@ -315,8 +315,7 @@
|
|||||||
. $querymethod;
|
. $querymethod;
|
||||||
|
|
||||||
$this->db2->query($sql . $parent_select,__LINE__,__FILE__);
|
$this->db2->query($sql . $parent_select,__LINE__,__FILE__);
|
||||||
//$total_mains = $this->db2->num_rows();
|
$total = $this->db2->num_rows();
|
||||||
$this->total_records = $this->db2->num_rows();
|
|
||||||
|
|
||||||
if ($limit)
|
if ($limit)
|
||||||
{
|
{
|
||||||
@ -344,6 +343,7 @@
|
|||||||
else
|
else
|
||||||
{*/
|
{*/
|
||||||
$this->db->query($sql . $sub_select . $ordermethod,__LINE__,__FILE__);
|
$this->db->query($sql . $sub_select . $ordermethod,__LINE__,__FILE__);
|
||||||
|
$total += $this->db->num_rows();
|
||||||
//}
|
//}
|
||||||
|
|
||||||
$subcats = $this->db2cats();
|
$subcats = $this->db2cats();
|
||||||
@ -368,8 +368,7 @@
|
|||||||
$num_cats = count($cats);
|
$num_cats = count($cats);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//$this->total_records = count($cats);
|
$this->total_records = $total;
|
||||||
//$this->total_records = $total_mains + $total_subs;
|
|
||||||
return $cats;
|
return $cats;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user