Code

Updated department mangement#
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Oct 2009 17:00:11 +0000 (17:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 28 Oct 2009 17:00:11 +0000 (17:00 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14685 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/departments/class_departmentManagement.inc

index c875c546d2cb9735b475547a08a7b3d8603cebbb..96cea0fc604f200615c1e8cb542f8b623ea89159 100644 (file)
@@ -40,12 +40,12 @@ class departmentManagement extends management
     $this->storagePoints = array("");
  
     // Build filter
-    #if (session::global_is_set(get_class($this)."_filter")){
+    if (session::global_is_set(get_class($this)."_filter")){
       $filter= session::global_get(get_class($this)."_filter");
-#    } else {
+    } else {
       $filter = new filter(get_template_path("dep-filter.xml", true));
#     $filter->setObjectStorage($this->storagePoints);
#   }
+      $filter->setObjectStorage($this->storagePoints);
+    }
     $this->setFilter($filter);
 
     // Build headpage
@@ -76,6 +76,7 @@ class departmentManagement extends management
 
   function newEntry($action="",$target=array(),$all=array(), $altTabClass ="", $altTabType = "", $altAclCategory="")
   {
+    echo "Remember to add recursive move and department tagging again!";
     $types= $this->get_support_departments();
     $type = preg_replace("/^new_/","",$action);
     return(management::newEntry($action,$target,$all,$this->tabClass,$types[$type]['TAB'],$this->aclCategory));