[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [13129] soalarm
From: |
Saul |
Subject: |
[Fmsystem-commits] [13129] soalarm |
Date: |
Thu, 30 Apr 2015 23:04:58 +0000 |
Revision: 13129
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13129
Author: psaul
Date: 2015-04-30 23:04:57 +0000 (Thu, 30 Apr 2015)
Log Message:
-----------
soalarm
Modified Paths:
--------------
branches/dev-syncromind/property/inc/class.soalarm.inc.php
Modified: branches/dev-syncromind/property/inc/class.soalarm.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.soalarm.inc.php 2015-04-30
23:04:32 UTC (rev 13128)
+++ branches/dev-syncromind/property/inc/class.soalarm.inc.php 2015-04-30
23:04:57 UTC (rev 13129)
@@ -84,7 +84,8 @@
$sort = isset($data['sort']) && $data['sort']
? $data['sort'] : 'DESC';
$order = isset($data['order']) ?
$data['order'] : '';
$allrows = isset($data['allrows']) ?
$data['allrows'] : '';
-
+ $results = isset($data['results']) ? (int) $data['results'] : 0;
+
if($order == 'undefined')
{
$order = '';
@@ -130,13 +131,13 @@
}
$sql = "SELECT
phpgw_async.id,phpgw_async.next,phpgw_async.times,phpgw_async.method,phpgw_async.data,account_lid
FROM phpgw_async $this->join phpgw_accounts on
phpgw_async.account_id=phpgw_accounts.account_id $filtermethod $querymethod";
-
+
$this->db->query($sql,__LINE__,__FILE__);
$this->total_records = $this->db->num_rows();
if(!$allrows)
{
- $this->db->limit_query($sql .
$ordermethod,$start,__LINE__,__FILE__);
+ $this->db->limit_query($sql .
$ordermethod,$start,__LINE__,__FILE__,$results);
}
else
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [13129] soalarm,
Saul <=