Code

Fixed application management, remember last release
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Apr 2008 14:02:18 +0000 (14:02 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Apr 2008 14:02:18 +0000 (14:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10480 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/applications/class_applicationManagement.inc

index 14f51165fda4b65cc474f6d9d29e82c3a7a26ea9..db673c490b5cc08ba4c91e0da94ebd5e5220f94c 100644 (file)
@@ -86,8 +86,6 @@ class applicationManagement extends plugin
       $this->app_base     = $app_filter['app_base'];
       $this->app_release  = $app_filter['app_release'];
     }
-    $this->app_base   = "ou=apps,o=Landeshauptstadt München,c=de";
-    $this->app_release= $this->app_base;
   }
 
 
@@ -673,8 +671,14 @@ class applicationManagement extends plugin
       if(isset($releases[$sel_rel])){
         $this->app_release = $releases[$sel_rel];
       }
+      $app_filter     = session::get("app_filter");
+      $app_filter['app_release'] = $this->app_release;
+      session::set("app_filter",$app_filter);
     }elseif(!$this->IsReleaseManagementActivated()){
       $this->app_base = get_ou("applicationou").$this->DivListApplication->selectedBase;
+      $app_filter     = session::get("app_filter");
+      $app_filter['app_base'] = $this->app_base;
+      session::set("app_filter",$app_filter);
     }
   }