fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [13266] class.uievent.inc


From: Saul
Subject: [Fmsystem-commits] [13266] class.uievent.inc
Date: Fri, 22 May 2015 21:39:02 +0000

Revision: 13266
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=13266
Author:   psaul
Date:     2015-05-22 21:39:01 +0000 (Fri, 22 May 2015)
Log Message:
-----------
class.uievent.inc

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

Modified: branches/dev-syncromind/property/inc/class.uievent.inc.php
===================================================================
--- branches/dev-syncromind/property/inc/class.uievent.inc.php  2015-05-22 
08:19:41 UTC (rev 13265)
+++ branches/dev-syncromind/property/inc/class.uievent.inc.php  2015-05-22 
21:39:01 UTC (rev 13266)
@@ -47,6 +47,7 @@
 
                var $public_functions = array
                        (
+                'query'     => true,
                                'index'         => true,
                                'view'          => true,
                                'edit'          => true,
@@ -374,9 +375,9 @@
                     (
                         'menuaction'           => 'property.uievent.edit',
                         'type'                         => $type,
-                        'type_id'                      => $type_id,
-                        'target'                       => '_blank'
+                        'type_id'                      => $type_id
                     )),
+                    'target'                   => '_blank',
                     'parameters'       => json_encode($parameters)
                 );
                        }
@@ -412,9 +413,11 @@
                }
 
                public function query()
-               {
-            $start_date = urldecode($this->start_date);
-                       $end_date   = urldecode($this->end_date);
+               {   
+            $date1 = phpgw::get_var('start_date');
+            $date2 = phpgw::get_var('end_date');
+            $start_date = urldecode($date1);
+                       $end_date   = urldecode($date2);
                        $search     = phpgw::get_var('search');
                        $order      = phpgw::get_var('order');
                        $draw       = phpgw::get_var('draw', 'int');




reply via email to

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