Code

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

gosa-core/plugins/admin/groups/userSelect/class_userSelect.inc

index 67957965447af3bdde48f5b9a8ba9b021b6901f6..a96b58697733df150b6a45adde78e7dc33a53f07 100644 (file)
@@ -32,14 +32,14 @@ class userSelect extends management
     $this->ui = $ui;
    
     $this->storagePoints = array(get_ou("userRDN"));
-#    // 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("user-filter.xml", true, dirname(__FILE__)));
       $filter->setObjectStorage($this->storagePoints);
-#    }
+    }
     $this->setFilter($filter);
 
     // Build headpage