From: cajus Date: Fri, 11 Apr 2008 12:51:50 +0000 (+0000) Subject: Sort list of objectgroups X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=db1bd48b5c65200f1346ce4da4f8fea98fe2ac2b;p=gosa.git Sort list of objectgroups git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10357 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc index 5b9ebfb20..38ebc8dff 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_SelectDeviceType.inc @@ -25,6 +25,7 @@ class SelectDeviceType extends plugin while($attrs = $ldap->fetch()){ $this->ObjectGroups[$attrs['dn']]= $attrs['cn'][0]; } + asort($this->ObjectGroups); $this->SystemTypes =array("workstation"=>_("Workstation"), "terminal"=>_("Terminal"), "server"=>_("Server")); }