Code

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

gosa-core/include/class_management.inc

index fcd690c0c295561ed9d080c5f1d57c5570667dfa..0d0f43ba0b16de5abe7e29f40f937a1a5a90ac39 100644 (file)
@@ -91,6 +91,7 @@ class management
     // Update filter
     if ($this->filter) {
       $this->filter->update();
+      session::global_set(get_class($this)."_filter", $this->filter);
       session::set('autocomplete', $this->filter);
       if (!$this->filter->isValid()){
         msg_dialog::display(_("Filter error"), _("The filter is incomplete!"), ERROR_DIALOG);
@@ -558,15 +559,23 @@ class management
   function setDescription($str) {
     $this->plDescription = $str;
   } 
+
+
   function setHeadpage($str) {
     $this->headpage = $str;
   } 
+
+
   function setFilter($str) {
     $this->filter = $str;
   } 
+
+
   function setIcon($str) {
     $this->plIcon = $str;
   } 
+
+
   function setHeadline($str) {
     $this->plHeadline = $str;
   }