Code

Enabled session storage for opsi license filter
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 10:24:39 +0000 (10:24 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 5 Jan 2010 10:24:39 +0000 (10:24 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15050 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsiLicenses/class_opsiLicenses.inc

index bf0a9fda9933dbbd48439306170c2caac06d41d3..c40aa99a99544c2ac721821248546dd571c3d23d 100644 (file)
@@ -41,12 +41,12 @@ class opsiLicenses extends management
     $this->storagePoints = array();
  
     // Build filter
-#    if (session::global_is_set(get_class($this)."_filter")){
-#      $filter= session::global_get(get_class($this)."_filter");
-#    } else {
+    if (session::global_is_set(get_class($this)."_filter")){
+      $filter= session::global_get(get_class($this)."_filter");
+    } else {
       $filter = new filter(get_template_path("opsiLicense-filter.xml", true));
       $filter->setObjectStorage($this->storagePoints);
-#    }
+    }
     $this->setFilter($filter);
 
     // Build headpage