Code

Added filters
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Oct 2009 16:00:59 +0000 (16:00 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Oct 2009 16:00:59 +0000 (16:00 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14663 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/users/class_userManagement.inc

index c46da475bf0659eaf968e7e6d6076e01cf28406c..6b9555930835a9500605024b0de4417cc98c67c7 100644 (file)
@@ -49,8 +49,12 @@ class userManagement extends management
     $this->storagePoints = array(get_ou("userRDN"));
  
     // Build filter
-    $filter = new filter(get_template_path("user-filter.xml", true));
-    $filter->setObjectStorage($this->storagePoints);
+    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));
+      $filter->setObjectStorage($this->storagePoints);
+    }
     $this->setFilter($filter);
 
     // Build headpage