summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authormyk%mozilla.org <>2002-05-10 06:37:37 +0200
committermyk%mozilla.org <>2002-05-10 06:37:37 +0200
commit085cf20939cc04fcf2aa57afc63e1d8297e4eb04 (patch)
tree09e4ccce9a1ac0d2fa984132655e27f69321e2ad /buglist.cgi
parent35bf19af759a76fa2787fea6159cd4cb419381db (diff)
downloadbugzilla-085cf20939cc04fcf2aa57afc63e1d8297e4eb04.tar.gz
bugzilla-085cf20939cc04fcf2aa57afc63e1d8297e4eb04.tar.xz
Fix for bug 135449: allows named queries to override the last sort order.
Patch by Myk Melez <myk@mozilla.org>. 2xr=justdave
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 1dfe52e5a..801470113 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1039,6 +1039,7 @@ CMD: for ($::FORM{'cmdtype'}) {
$::buffer = LookupNamedQuery($::FORM{"namedcmd"});
$vars->{'title'} = "Bug List: $::FORM{'namedcmd'}";
ProcessFormFields($::buffer);
+ $order = $::FORM{'order'} || $order;
last CMD;
};