fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [17114] more on helpdesk


From: sigurdne
Subject: [Fmsystem-commits] [17114] more on helpdesk
Date: Fri, 22 Sep 2017 10:17:29 -0400 (EDT)

Revision: 17114
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17114
Author:   sigurdne
Date:     2017-09-22 10:17:29 -0400 (Fri, 22 Sep 2017)
Log Message:
-----------
more on helpdesk

Modified Paths:
--------------
    trunk/helpdesk/inc/class.uitts.inc.php

Modified: trunk/helpdesk/inc/class.uitts.inc.php
===================================================================
--- trunk/helpdesk/inc/class.uitts.inc.php      2017-09-22 11:37:23 UTC (rev 
17113)
+++ trunk/helpdesk/inc/class.uitts.inc.php      2017-09-22 14:17:29 UTC (rev 
17114)
@@ -217,7 +217,7 @@
 
                        $params = array(
                                'start' => phpgw::get_var('start', 'int', 
'REQUEST', 0),
-                               'results' => phpgw::get_var('length', 'int', 
'REQUEST', 0),
+                               'results' => $export ? -1 : 
phpgw::get_var('length', 'int', 'REQUEST', 0),
                                'query' => $search['value'],
                                'order' => 
$columns[$order[0]['column']]['data'],
                                'sort' => $order[0]['dir'],
@@ -231,7 +231,6 @@
                                'vendor_id' => $this->bo->vendor_id,
                                'district_id' => $this->bo->district_id,
                                'part_of_town_id' => $this->bo->part_of_town_id,
-                               //'allrows' => $this->bo->allrows,
                                'start_date' => $this->bo->start_date,
                                'end_date' => $this->bo->end_date,
                                'location_code' => $this->bo->location_code,
@@ -392,11 +391,9 @@
 
                function download()
                {
-                       $start_date     = urldecode($this->start_date);
-                       $end_date       = urldecode($this->end_date);
+                       $params = $this->get_params();
 
-                       $this->bo->allrows = true;
-                       $list = $this->bo->read($start_date,$end_date,'', 
$download = true);
+                       $list = $this->bo->read($params);
 
                        $custom_status  = $this->bo->get_custom_status();
 
@@ -449,7 +446,7 @@
                        $descr = array();
                        foreach($name as $_entry)
                        {
-                               //                              $descr[] = 
str_replace('_', ' ', $_entry);
+//                             $descr[] = str_replace('_', ' ', $_entry);
                                $descr[] = lang(str_replace('_', ' ', $_entry));
                        }
 




reply via email to

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