Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b038f8c

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 c48458b commit b038f8c

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
@@ -605,7 +605,7 @@ function summary_print_by_category() {
605605
FROM $t_mantis_bug_table b
606606
JOIN $t_mantis_category_table AS c ON b.category_id=c.id
607607
WHERE b.$specific_where
608-
GROUP BY $t_project_query c.name, b.status
608+
GROUP BY $t_project_query c.name, b.category_id, b.status
609609
ORDER BY $t_project_query c.name";
610610

611611
$result = db_query( $query );

0 commit comments

Comments
 (0)
Please sign in to comment.