fmsystem-commits
[Top][All Lists]
Advanced

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

[Fmsystem-commits] [7111] property: session filters


From: Sigurd Nes
Subject: [Fmsystem-commits] [7111] property: session filters
Date: Fri, 11 Mar 2011 12:44:34 +0000

Revision: 7111
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7111
Author:   sigurdne
Date:     2011-03-11 12:44:33 +0000 (Fri, 11 Mar 2011)
Log Message:
-----------
property: session filters

Modified Paths:
--------------
    trunk/property/inc/class.uiworkorder.inc.php

Modified: trunk/property/inc/class.uiworkorder.inc.php
===================================================================
--- trunk/property/inc/class.uiworkorder.inc.php        2011-03-11 12:37:26 UTC 
(rev 7110)
+++ trunk/property/inc/class.uiworkorder.inc.php        2011-03-11 12:44:33 UTC 
(rev 7111)
@@ -209,6 +209,7 @@
                                $this->district_id              = 
$default_district;
                        }
 
+                       $this->save_sessiondata();
 
                        if( phpgw::get_var('phpgw_return_as') != 'json' )
                        {
@@ -227,7 +228,7 @@
                                                'cat_id'                        
=> $this->cat_id,
                                                'status_id'                     
=> $this->status_id,
                                                'filter'                        
=> $this->filter,
-                                               'query'                         
=> $this->query,
+                       //                      'query'                         
=> $this->query,
                                                'start_date'            => 
$start_date,
                                                'end_date'                      
=> $end_date,
                                                'wo_hour_cat_id'        => 
$this->wo_hour_cat_id,
@@ -240,7 +241,6 @@
                                $datatable['config']['allow_allrows'] = false;
 
                                $datatable['config']['base_java_url'] = 
"menuaction:'property.uiworkorder.index',"
-
                                        ."query:'{$this->query}',"
                                        ."lookup:'{$lookup}',"
                                        ."district_id: '{$this->district_id}',"
@@ -423,7 +423,7 @@
                                                                ( // TEXT IMPUT
                                                                        'name'  
   => 'query',
                                                                        'id'    
 => 'txt_query',
-                                                                       'value' 
   => '',//$query,
+                                                                       'value' 
   => $this->query,
                                                                        'type' 
=> 'text',
                                                                        
'onkeypress' => 'return pulsar(event)',
                                                                        'size'  
  => 18,
@@ -821,9 +821,6 @@
 
                        // Prepare YUI Library
                        $GLOBALS['phpgw']->js->validate_file( 'yahoo', 
'workorder.index', 'property' );
-
-                       $this->save_sessiondata();
-
                }
 
                function edit()




reply via email to

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