]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1145438: DB Crash under postgres when using alias column in buglist.cgi
authorMatt Tyson <mtyson@redhat.com>
Mon, 23 Mar 2015 13:38:37 +0000 (21:38 +0800)
committerByron Jones <glob@mozilla.com>
Mon, 23 Mar 2015 13:38:37 +0000 (21:38 +0800)
(fix ordering)

Bugzilla/Search.pm

index c95651a159a2f0f98900c2a364cd5e6cdeb70bba..e06e706a7229e94f3320fa31467fe7d5a55661ff 100644 (file)
@@ -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
 );
 
 ###############