fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [12941] class.boagreement.inc


From: Saul
Subject: [Fmsystem-commits] [12941] class.boagreement.inc
Date: Wed, 01 Apr 2015 23:15:32 +0000

Revision: 12941
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=12941
Author:   psaul
Date:     2015-04-01 23:15:31 +0000 (Wed, 01 Apr 2015)
Log Message:
-----------
class.boagreement.inc

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

Modified: branches/dev-syncromind/property/inc/class.boagreement.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.boagreement.inc.php      
2015-04-01 23:14:55 UTC (rev 12940)
+++ branches/dev-syncromind/property/inc/class.boagreement.inc.php      
2015-04-01 23:15:31 UTC (rev 12941)
@@ -185,9 +185,17 @@
                        return $agreements;
                }
 
-               function read_details( $id )
-               {
-                       $list = $this->so->read_details( array('start' => 
$this->start, 'query'  => $this->query, 'sort' => $this->sort, 'order' => 
$this->order,
+               function read_details( $id , $params = '')
+               {            
+            if(!empty($params)){
+                $sort = $params['sort'] ;
+                $order = $params['order'] ;
+            }else{
+                $sort = $this->sort;
+                $order = $this->order;
+            }  
+            
+                       $list = $this->so->read_details( array('start' => 
$this->start, 'query'  => $this->query, 'sort' => $sort, 'order' => $order,
                                'filter' => $this->filter, 'cat_id' => 
$this->cat_id, 'allrows' => $this->allrows, 'member_id' => $this->member_id,
                                'agreement_id' => $id) );
                        $this->total_records = $this->so->total_records;




reply via email to

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