From: Matt Tyson Date: Mon, 23 Mar 2015 13:38:37 +0000 (+0800) Subject: Bug 1145438: DB Crash under postgres when using alias column in buglist.cgi X-Git-Tag: release-5.1.1~318 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7559020b6e10103849bd7eb2302d7a60b5b0b0b8;p=thirdparty%2Fbugzilla.git Bug 1145438: DB Crash under postgres when using alias column in buglist.cgi (fix ordering) --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index c95651a159..e06e706a72 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -706,6 +706,7 @@ sub REPORT_COLUMNS { # is here because it *always* goes into the GROUP BY as the first item, # so it should be skipped when determining extra GROUP BY columns. use constant GROUP_BY_SKIP => qw( + alias blocked bug_id dependson @@ -714,7 +715,6 @@ use constant GROUP_BY_SKIP => qw( longdescs.count percentage_complete tag - alias ); ###############