aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormyk%mozilla.org <>2003-08-28 05:12:26 +0000
committermyk%mozilla.org <>2003-08-28 05:12:26 +0000
commit3e777873a2774473b4c95aeb2a48481ae52c0677 (patch)
tree06d5edccfa2a38349d493a487213ac81cb06adf7
parent4c4e35be44deca0c3facdcf3079d35f01c8946c6 (diff)
downloadbugs-3e777873a2774473b4c95aeb2a48481ae52c0677.tar
bugs-3e777873a2774473b4c95aeb2a48481ae52c0677.tar.gz
bugs-3e777873a2774473b4c95aeb2a48481ae52c0677.tar.bz2
bugs-3e777873a2774473b4c95aeb2a48481ae52c0677.tar.xz
bugs-3e777873a2774473b4c95aeb2a48481ae52c0677.zip
Fix for bug 217485: displays query in the "please wait" server push page if the "debug" parameter is set in the URL.
r=justdave a=justdave
-rwxr-xr-xbuglist.cgi10
1 files changed, 5 insertions, 5 deletions
diff --git a/buglist.cgi b/buglist.cgi
index f2f5ca610..4beb57a09 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -626,6 +626,11 @@ $query .= " ORDER BY $db_order " if ($order);
# Query Execution
################################################################################
+if ($::FORM{'debug'}) {
+ $vars->{'debug'} = 1;
+ $vars->{'query'} = $query;
+}
+
# Time to use server push to display an interim message to the user until
# the query completes and we can display the bug list.
if ($serverpush) {
@@ -763,11 +768,6 @@ if (scalar(@bugowners) > 1 && UserInGroup('editbugs')) {
$vars->{'bugowners'} = $bugowners;
}
-if ($::FORM{'debug'}) {
- $vars->{'debug'} = 1;
- $vars->{'query'} = $query;
-}
-
# Whether or not to split the column titles across two rows to make
# the list more compact.
$vars->{'splitheader'} = $::COOKIE{'SPLITHEADER'} ? 1 : 0;