[Fusionforge-commits] r14674 - in trunk: . src/common/tracker/include

Roland Mas lolando at fusionforge.org
Tue Oct 18 17:26:58 CEST 2011


Author: lolando
Date: 2011-10-18 17:26:57 +0200 (Tue, 18 Oct 2011)
New Revision: 14674

Modified:
   trunk/
   trunk/src/common/tracker/include/ArtifactTypeHtml.class.php
Log:
Move the sort to where it's actually useful

Modified: trunk/src/common/tracker/include/ArtifactTypeHtml.class.php
===================================================================
--- trunk/src/common/tracker/include/ArtifactTypeHtml.class.php	2011-10-18 15:22:13 UTC (rev 14673)
+++ trunk/src/common/tracker/include/ArtifactTypeHtml.class.php	2011-10-18 15:26:57 UTC (rev 14674)
@@ -678,6 +678,8 @@
 		$ids = array () ;
 		$names = array () ;
 
+		sortUserList($techs);
+
 		foreach ($techs as $tech) {
 			$ids[] = $tech->getID() ;
 			$names[] = $tech->getRealName() ;
@@ -688,8 +690,6 @@
 			$names[]=$extra_name;
 		}
 
-		sortUserList($techs);
-
 		if ($multiple) {
 			if (!is_array($checked)) {
 				$checked = explode(',',$checked);




More information about the Fusionforge-commits mailing list