From bfc59eb7700468d3394db245ab6874db10605ec5 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 11 Jan 2006 15:10:01 +0000 Subject: [PATCH] Added sorting for branch freeze list git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2451 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/fai/class_faiManagement.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/admin/fai/class_faiManagement.inc b/plugins/admin/fai/class_faiManagement.inc index 099905f38..6a516158f 100644 --- a/plugins/admin/fai/class_faiManagement.inc +++ b/plugins/admin/fai/class_faiManagement.inc @@ -775,8 +775,10 @@ class faiManagement extends plugin /* Assign all reguired vars to template engine */ - $smarty->assign("branchKeys",array_flip($this->getBranches())); - $smarty->assign("branches",$this->getBranches()); + $branches = $this->getBranches(); + asort($branches); + $smarty->assign("branchKeys",array_flip($branches)); + $smarty->assign("branches",$branches); $smarty->assign("faihead" , $faihead); $smarty->assign("failist" , $divlist->DrawList()); -- 2.30.2