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

Roland Mas lolando at fusionforge.org
Mon Oct 10 10:52:17 CEST 2011


Author: lolando
Date: 2011-10-10 10:52:17 +0200 (Mon, 10 Oct 2011)
New Revision: 14591

Modified:
   branches/Branch_5_1/
   branches/Branch_5_1/src/common/search/ArtifactSearchQuery.class.php
   branches/Branch_5_1/src/common/search/TasksSearchQuery.class.php
   branches/Branch_5_1/src/common/search/TrackersSearchQuery.class.php
Log:
Added missing column in GROUP BY clauses

Modified: branches/Branch_5_1/src/common/search/ArtifactSearchQuery.class.php
===================================================================
--- branches/Branch_5_1/src/common/search/ArtifactSearchQuery.class.php	2011-10-09 14:30:34 UTC (rev 14590)
+++ branches/Branch_5_1/src/common/search/ArtifactSearchQuery.class.php	2011-10-10 08:52:17 UTC (rev 14591)
@@ -91,7 +91,7 @@
 						 array ()) ;
 		}
 		$qpa = db_construct_qpa ($qpa,
-					 'GROUP BY artifact.artifact_id, artifact.group_artifact_id, artifact.summary, artifact.open_date, users.realname') ;
+					 'GROUP BY artifact.artifact_id, artifact.group_artifact_id, artifact.summary, artifact.open_date, users.realname, artifact.details') ;
 
 		if (forge_get_config('use_fti')) {
 			$qpa = db_construct_qpa ($qpa, 

Modified: branches/Branch_5_1/src/common/search/TasksSearchQuery.class.php
===================================================================
--- branches/Branch_5_1/src/common/search/TasksSearchQuery.class.php	2011-10-09 14:30:34 UTC (rev 14590)
+++ branches/Branch_5_1/src/common/search/TasksSearchQuery.class.php	2011-10-10 08:52:17 UTC (rev 14591)
@@ -103,7 +103,7 @@
 						 array ()) ;
 		}
 		$qpa = db_construct_qpa ($qpa,
-					 'GROUP BY project_task.project_task_id, project_task.summary, project_task.percent_complete, project_task.start_date, project_task.end_date, users.realname, project_group_list.project_name') ;
+					 'GROUP BY project_task.project_task_id, project_task.summary, project_task.percent_complete, project_task.start_date, project_task.end_date, users.realname, project_group_list.project_name, project_task.details') ;
 		if (forge_get_config('use_fti')) {
 			$qpa = db_construct_qpa ($qpa, 
 						 ', project_task_idx.vectors',

Modified: branches/Branch_5_1/src/common/search/TrackersSearchQuery.class.php
===================================================================
--- branches/Branch_5_1/src/common/search/TrackersSearchQuery.class.php	2011-10-09 14:30:34 UTC (rev 14590)
+++ branches/Branch_5_1/src/common/search/TrackersSearchQuery.class.php	2011-10-10 08:52:17 UTC (rev 14591)
@@ -102,7 +102,7 @@
 						 array ()) ;
 		}
 		$qpa = db_construct_qpa ($qpa,
-					 'GROUP BY artifact.artifact_id, artifact.group_artifact_id, artifact.summary, artifact.open_date, users.realname, artifact_group_list.name') ;
+					 'GROUP BY artifact.artifact_id, artifact.group_artifact_id, artifact.summary, artifact.open_date, users.realname, artifact_group_list.name, artifact.details') ;
 
 		if (forge_get_config('use_fti')) {
 			$qpa = db_construct_qpa ($qpa, 




More information about the Fusionforge-commits mailing list