]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 177099: stored queries ordering and editing were broken after moving...
authorjustdave%syndicomm.com <>
Thu, 31 Oct 2002 13:30:49 +0000 (13:30 +0000)
committerjustdave%syndicomm.com <>
Thu, 31 Oct 2002 13:30:49 +0000 (13:30 +0000)
r=bbaetz

buglist.cgi

index 684b7dfe0509e018721968396a56c7e0b6e09f79..905d52d63b94aa5092deba6eb64cfbdd12ee86e8 100755 (executable)
@@ -236,9 +236,9 @@ my $params = new Bugzilla::CGI($cgi);
 # Take appropriate action based on user's request.
 if ($::FORM{'cmdtype'} eq "dorem") {  
     if ($::FORM{'remaction'} eq "run") {
-        my $query = LookupNamedQuery($::FORM{"namedcmd"});
+        $::buffer = LookupNamedQuery($::FORM{"namedcmd"});
         $vars->{'title'} = "Bug List: $::FORM{'namedcmd'}";
-        $params = new Bugzilla::CGI($query);
+        $params = new Bugzilla::CGI($::buffer);
         $order = $params->param('order') || $order;
     }
     elsif ($::FORM{'remaction'} eq "load") {