]> 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:39:44 +0000 (21:39 +0800)
committerByron Jones <glob@mozilla.com>
Mon, 23 Mar 2015 13:39:44 +0000 (21:39 +0800)
(fix ordering)

Bugzilla/Search.pm

index 0c59959dd54156c00f7c189218bfed1fdd383fb2..9dea07b5d8ca18c8487901ce3731ff6864e71e9d 100644 (file)
@@ -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
 );
 
 ###############