forked from extern/egroupware
Add var to show total_records, and modify read to set it.
This commit is contained in:
parent
77e137a1c1
commit
05109519c4
@ -13,6 +13,7 @@
|
|||||||
var $db;
|
var $db;
|
||||||
var $account_id;
|
var $account_id;
|
||||||
var $stock_addressbook_fields; // This is an array of all the fields in the addressbook
|
var $stock_addressbook_fields; // This is an array of all the fields in the addressbook
|
||||||
|
var $total_records;
|
||||||
|
|
||||||
function contacts()
|
function contacts()
|
||||||
{
|
{
|
||||||
@ -70,6 +71,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->db->query("select ab_id,ab_owner,ab_access $t_fields from addressbook "
|
||||||
|
. $filters,__LINE__,__FILE__);
|
||||||
|
$this->total_records = $this->db->num_rows();
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$this->db2 = $this->db; // Create new result object before our query
|
$this->db2 = $this->db; // Create new result object before our query
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user