[Fusionforge-commits] r7673 - branches/Branch_4_8/gforge/common/search

Roland Mas lolando at libremir.placard.fr.eu.org
Sat May 16 10:30:13 CEST 2009


Author: lolando
Date: 2009-05-16 10:30:12 +0200 (Sat, 16 May 2009)
New Revision: 7673

Modified:
   branches/Branch_4_8/gforge/common/search/FrsSearchQuery.class.php
Log:
Fixed SQL query syntax

Modified: branches/Branch_4_8/gforge/common/search/FrsSearchQuery.class.php
===================================================================
--- branches/Branch_4_8/gforge/common/search/FrsSearchQuery.class.php	2009-05-15 19:58:35 UTC (rev 7672)
+++ branches/Branch_4_8/gforge/common/search/FrsSearchQuery.class.php	2009-05-16 08:30:12 UTC (rev 7673)
@@ -137,7 +137,7 @@
 	 * @param $showNonPublic boolean if we should consider non public sections
 	 */
 	function getSections($groupId, $showNonPublic) {
-		$sql = 'SELECT package_id, name FROM frs_package WHERE group_id = \''.$groupId.'\' ORDER BY name';
+		$sql = 'SELECT package_id, name FROM frs_package WHERE group_id = \''.$groupId.'\'';
 		
 		if(!$showNonPublic) {
 			$sql .= ' AND is_public=1';




More information about the Fusionforge-commits mailing list