Code

Packagelist sorted
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Oct 2005 12:03:00 +0000 (12:03 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Oct 2005 12:03:00 +0000 (12:03 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1706 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiPackage.inc
plugins/admin/fai/class_faiPartitionTable.inc

index a9670582c76052e7084a67641350f5af68898df8..f58acfd12264cbfdf21dfea1378b8087e8f09aee 100644 (file)
@@ -70,6 +70,7 @@ class faiPackage extends plugin
       foreach($this->attrs['FAIpackage'] as $pkg){
         $this->usedPackages[$pkg] = $pkg;
       }
+      ksort($this->usedPackages);
     }else{
       $this->usedPackages = array();
     }  
@@ -200,6 +201,7 @@ class faiPackage extends plugin
         $this->usedPackages = $use;
         $this->dialog = false;
         $this->is_dialog=false;
+        ksort($this->usedPackages);
       }
     }
 
index dcafa6a5673265b194034abf64e58002b39e7d58..1d78d57219a9e839694d7e617708b2dd12808847 100644 (file)
@@ -72,6 +72,7 @@ class faiPartitionTable extends plugin
         }  
       }
     }
+    ksort($this->disks);
   }
 
   function execute()
@@ -149,6 +150,7 @@ class faiPartitionTable extends plugin
         unset($this->dialog);
         $this->dialog = NULL;
         $this->is_dialog=false;
+        ksort($this->disks);
       }
     }