[Fusionforge-commits] r8708 - trunk/gforge/www/frs/include

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sun Jan 31 18:59:22 CET 2010


Author: aljeux
Date: 2010-01-31 18:59:22 +0100 (Sun, 31 Jan 2010)
New Revision: 8708

Modified:
   trunk/gforge/www/frs/include/frs_utils.php
Log:
FRS: Add order by on processor and filetype query

Modified: trunk/gforge/www/frs/include/frs_utils.php
===================================================================
--- trunk/gforge/www/frs/include/frs_utils.php	2010-01-31 17:51:32 UTC (rev 8707)
+++ trunk/gforge/www/frs/include/frs_utils.php	2010-01-31 17:59:22 UTC (rev 8708)
@@ -145,7 +145,7 @@
 	*/
 	global $FRS_FILETYPE_RES;
 	if (!isset($FRS_FILETYPE_RES)) {
-		$FRS_FILETYPE_RES=db_query_params ('SELECT * FROM frs_filetype',
+		$FRS_FILETYPE_RES=db_query_params ('SELECT * FROM frs_filetype ORDER BY type_id',
 			array());
 	}
 	return html_build_select_box ($FRS_FILETYPE_RES,$name,$checked_val,true,_('Must Choose One'));
@@ -163,7 +163,7 @@
 	*/
 	global $FRS_PROCESSOR_RES;
 	if (!isset($FRS_PROCESSOR_RES)) {
-		$FRS_PROCESSOR_RES=db_query_params ('SELECT * FROM frs_processor',
+		$FRS_PROCESSOR_RES=db_query_params ('SELECT * FROM frs_processor ORDER BY processor_id',
 			array());
 	}
 	return html_build_select_box ($FRS_PROCESSOR_RES,$name,$checked_val,true,_('Must Choose One'));




More information about the Fusionforge-commits mailing list