From: Matt Tyson Date: Mon, 23 Mar 2015 13:39:44 +0000 (+0800) Subject: Bug 1145438: DB Crash under postgres when using alias column in buglist.cgi X-Git-Tag: bugzilla-5.0rc3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=516f99e6940e6c5566229045cbbfa5f1ea5e0c5c;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 0c59959dd5..9dea07b5d8 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -705,6 +705,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 @@ -713,7 +714,6 @@ use constant GROUP_BY_SKIP => qw( longdescs.count percentage_complete tag - alias ); ###############