Code

Saving searchStrPKG in session
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 7 Oct 2005 05:18:44 +0000 (05:18 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 7 Oct 2005 05:18:44 +0000 (05:18 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1519 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiPackageEntry.inc

index dbfd58951c5cecfd32c843729a9972d91b2ce6f5..5c02f58c794ad13393b7321b4e242b6965ee0e41 100644 (file)
@@ -26,6 +26,10 @@ class faiPackageEntry extends plugin
     plugin::plugin ($config, $dn);
     $this->strID = $strID;
 
+    if(isset($_SESSION['searchStrPKG'])){
+      $this->searchStrPKG=$_SESSION['searchStrPKG'];
+    }
+
     $this->selected=$selected;
   }
 
@@ -116,7 +120,7 @@ class faiPackageEntry extends plugin
                                array("string"=>$pkg[3],"attach"=>"style='border-right:0px'")));
       }
     }
-
+    $_SESSION['searchStrPKG']       = $this->searchStrPKG;
     $smarty->assign("CHKS"          , $CHKS);
     $smarty->assign("searchStrPKG"  , $this->searchStrPKG);
     $smarty->assign("faihead"       , "");