summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjustdave%syndicomm.com <>2002-10-31 14:30:49 +0100
committerjustdave%syndicomm.com <>2002-10-31 14:30:49 +0100
commit4fc0668c40ac6e71b5418d6cbc2127eeb4e97c91 (patch)
tree94cb283236ed744b8ab485e0aecdf85fc33f3acd
parentf0139c8c929e809d64f7ea5da517bf8bdc273fd1 (diff)
downloadbugzilla-4fc0668c40ac6e71b5418d6cbc2127eeb4e97c91.tar.gz
bugzilla-4fc0668c40ac6e71b5418d6cbc2127eeb4e97c91.tar.xz
Fix for bug 177099: stored queries ordering and editing were broken after moving to CGI.pm. They work again now.
r=bbaetz
-rwxr-xr-xbuglist.cgi4
1 files changed, 2 insertions, 2 deletions
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") {