From aa713f82f160f42a5b56ec420cdbd36ea9ed4467 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 Apr 2006 12:06:06 +0000 Subject: [PATCH] Fixed department sorting git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3064 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/users/class_userManagement.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/admin/users/class_userManagement.inc b/plugins/admin/users/class_userManagement.inc index da884aac2..703105dce 100644 --- a/plugins/admin/users/class_userManagement.inc +++ b/plugins/admin/users/class_userManagement.inc @@ -1104,9 +1104,6 @@ class userManagement extends plugin $deps= get_list("(&(|(ou=$regex)(description=$regex))(objectClass=gosaDepartment))", $this->ui->subtreeACL, $dep_base, array("ou", "description"), GL_SIZELIMIT | GL_CONVERT); - /* sort deparmtents */ - natcasesort($deps); - /* Append deparments to class var and if available add description */ foreach($deps as $value){ if(isset($value['description'][0])){ @@ -1116,6 +1113,7 @@ class userManagement extends plugin } } + natcasesort($this->departments); } -- 2.30.2