From 4fc0668c40ac6e71b5418d6cbc2127eeb4e97c91 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Thu, 31 Oct 2002 13:30:49 +0000 Subject: Fix for bug 177099: stored queries ordering and editing were broken after moving to CGI.pm. They work again now. r=bbaetz --- buglist.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 684b7dfe0..905d52d63 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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") { -- cgit v1.2.3-24-g4f1b