Code

reenabled filter caching
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 08:40:31 +0000 (08:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 16 Mar 2010 08:40:31 +0000 (08:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16599 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/systemSelect/class_systemSelect.inc

index 7295dcb22bb1dc43bf80628fcb3d7afb971e8071..df561e0e591d14e323f40fbdaeecd6a1daf526c8 100644 (file)
@@ -32,13 +32,13 @@ class systemSelect extends management
     $this->ui = $ui;
     $this->storagePoints = array(get_ou("serverRDN"), get_ou("workstationRDN"), get_ou('terminalRDN'));
 
-#    // Build filter
-#    if (session::global_is_set(get_class($this)."_filter")){
-#      $filter= session::global_get(get_class($this)."_filter");
-#    } else {
+    // Build filter
+    if (session::global_is_set(get_class($this)."_filter")){
+      $filter= session::global_get(get_class($this)."_filter");
+    } else {
       $filter = new filter(get_template_path("selectSystem-filter.xml", true, dirname(__FILE__)));
       $filter->setObjectStorage($this->storagePoints);
-#    }
+    }
     $this->setFilter($filter);
 
     // Build headpage