Code

Fixed department select Post
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 9 Nov 2005 13:56:03 +0000 (13:56 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 9 Nov 2005 13:56:03 +0000 (13:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1892 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiManagement.inc

index 970995784fe3792a11910635d0d8b0bc6f05b498..137845a5786cefbaf0aea830885f2327abbf46ce 100644 (file)
@@ -84,6 +84,7 @@ class faiManagement extends plugin
 
        function execute()
        {
+
        /* Call parent execute */
        plugin::execute();
 
@@ -335,6 +336,11 @@ class faiManagement extends plugin
                        $faifilter['regex']=$_GET['search']."*";
                }
 
+               /* Department select */
+               if(isset($_POST['base'])){
+                       $faifilter['base']=$_POST['base'];
+               }
+
                /* remove double asterisks and save new filter */
                $faifilter['regex'] = preg_replace("/\*\*/","*",$faifilter['regex']);
                $_SESSION['faifilter']= $faifilter;