[Fusionforge-commits] r14567 - in branches/Branch_5_1: . src/common/search

Roland Mas lolando at fusionforge.org
Fri Oct 7 16:30:32 CEST 2011


Author: lolando
Date: 2011-10-07 16:30:31 +0200 (Fri, 07 Oct 2011)
New Revision: 14567

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/src/common/search/TrackersSearchQuery.class.php
Log:
SQL fix

Modified: branches/Branch_5_1/src/common/search/TrackersSearchQuery.class.php
===================================================================
--- branches/Branch_5_1/src/common/search/TrackersSearchQuery.class.php	2011-10-07 14:30:22 UTC (rev 14566)
+++ branches/Branch_5_1/src/common/search/TrackersSearchQuery.class.php	2011-10-07 14:30:31 UTC (rev 14567)
@@ -85,7 +85,7 @@
 						 array ()) ;
 		}
 		$qpa = db_construct_qpa ($qpa, 
-					 ' WHERE users.user_id = artifact.submitted_by AND artifact_group_list.group_artifact_id = artifact.group_artifact_id AND artifact_group_list.group_id = $1 ',
+					 ' WHERE users.user_id = artifact.submitted_by AND artifact_group_list.group_artifact_id = artifact.group_artifact_id AND artifact_group_list.group_id = $1 AND artifact_message.artifact_id = artifact.artifact_id ',
 						 array ($this->groupId)) ;
 		if ($this->sections != SEARCH__ALL_SECTIONS) {
 			$qpa = db_construct_qpa ($qpa,




More information about the Fusionforge-commits mailing list