Code

Fixed branch sorting
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 24 Mar 2006 12:28:01 +0000 (12:28 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 24 Mar 2006 12:28:01 +0000 (12:28 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2906 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/applications/class_applicationManagement.inc

index 2cf74aa6968f1dc1957887959fe651776388e7ef..362d575a1338d56bea1985630e689ff9220e65c8 100644 (file)
@@ -73,6 +73,7 @@ class applicationManagement extends plugin
 
     $appfilter = get_global("appfilter");
     $this->Releases = $this->getReleases($appfilter['depselect']);
+    asort($this->Releases);
     $this->Release  = $appfilter['release'];
   }
 
@@ -214,6 +215,7 @@ class applicationManagement extends plugin
     }
     
     $this->Releases = $this->getReleases($appfilter['depselect']);
+    asort($this->Releases);
     if(!isset($this->Releases[$this->Release])){
       $this->Release = key($this->Releases);
       $appfilter['release'] = $this->Release;