Code

Sort list of available users
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Jul 2006 07:48:09 +0000 (07:48 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Jul 2006 07:48:09 +0000 (07:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4229 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_selectUserToPrinterDialog.inc

index 143695676fbef9de278e853c578c52a5afcd2dc6..91d1ca4597e64730796d8a8d6fc2fc7ee4a1583c 100644 (file)
@@ -76,6 +76,7 @@ class selectUserToPrinterDialog extends plugin
     }
 
     $tmp_printers= $this->getPrinter();
+    natcasesort($tmp_printers);
     $smarty->assign("regexPrinter"        , $this->regex);
     $smarty->assign("deplistPrinter"      , $this->config->idepartments);//deplist);
     $smarty->assign("depselectPrinter"    , $this->depselect);