fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [12566] class.sojasper.inc


From: Saul
Subject: [Fmsystem-commits] [12566] class.sojasper.inc
Date: Wed, 07 Jan 2015 23:32:47 +0000

Revision: 12566
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12566
Author:   psaul
Date:     2015-01-07 23:32:47 +0000 (Wed, 07 Jan 2015)
Log Message:
-----------
class.sojasper.inc

Modified Paths:
--------------
    branches/dev-syncromind/property/inc/class.sojasper.inc.php

Modified: branches/dev-syncromind/property/inc/class.sojasper.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.sojasper.inc.php 2015-01-07 
23:32:27 UTC (rev 12565)
+++ branches/dev-syncromind/property/inc/class.sojasper.inc.php 2015-01-07 
23:32:47 UTC (rev 12566)
@@ -53,6 +53,7 @@
                        $allrows                = isset($data['allrows']) ? 
$data['allrows'] : '';
                        $location_id    = isset($data['location_id']) && 
$data['location_id'] ? (int)$data['location_id'] : 0;
                        $app                    = isset($data['app']) ? 
$data['app'] : '';
+            $results           = isset($data['results'])  ? (int) 
$data['results'] : 0;
 
                        $grants = & $this->grants;
 
@@ -107,7 +108,7 @@
                                $this->db->query("SELECT count(*) as cnt FROM 
{$table} {$app_filter} {$filtermethod} {$querymethod}",__LINE__,__FILE__);
                                $this->db->next_record();
                                $this->total_records = $this->db->f('cnt');
-                               $this->db->limit_query($sql . 
$ordermethod,$start,__LINE__,__FILE__);
+                               $this->db->limit_query($sql . 
$ordermethod,$start,__LINE__,__FILE__,$results);
                        }
                        else
                        {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]