]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 217485: displays query in the "please wait" server push page if the ...
authormyk%mozilla.org <>
Thu, 28 Aug 2003 05:12:26 +0000 (05:12 +0000)
committermyk%mozilla.org <>
Thu, 28 Aug 2003 05:12:26 +0000 (05:12 +0000)
r=justdave
a=justdave

buglist.cgi

index f2f5ca61081aad88bf2f068488419e29de699285..4beb57a0998fde6996cb9af9d0a990d5b04fd78d 100755 (executable)
@@ -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;