Skip to content

Commit 4143f30

Browse files
committedNov 12, 2012
Fix SQL error in summary page on PostgreSQL
This is a regression introduced by the fix for issue #11928 (see commit 0c9dc2a) which was not detected before as it was tested on MySQL which has more permissive SQL syntax. Fixes #15201
1 parent df10eff commit 4143f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/summary_api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ function summary_print_by_category() {
640640
FROM $t_mantis_bug_table b
641641
JOIN $t_mantis_category_table c ON b.category_id=c.id
642642
WHERE b.$specific_where
643-
GROUP BY $t_project_query c.name, b.status
643+
GROUP BY $t_project_query c.name, b.category_id, b.status
644644
ORDER BY $t_project_query c.name";
645645

646646
$result = db_query( $query );

0 commit comments

Comments
 (0)
Please sign in to comment.