]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
fix for 13626: loaded query doesn't show "Sort By" correctly.
authorcyeh%bluemartini.com <>
Thu, 14 Sep 2000 05:04:30 +0000 (05:04 +0000)
committercyeh%bluemartini.com <>
Thu, 14 Sep 2000 05:04:30 +0000 (05:04 +0000)
patch by dave@intrec.com

query.cgi

index 350ed1cb51fbaac3a2a5d16302082664894890c2..23bbf58cca9de7393b8fca4cf777dcce4451ab00 100755 (executable)
--- a/query.cgi
+++ b/query.cgi
@@ -877,6 +877,8 @@ if ($::COOKIE{'LASTORDER'}) {
     unshift(@orders, $deforder);
 }
 
+if ($::FORM{'order'}) { $deforder = $::FORM{'order'} }
+
 my $defquerytype = $userdefaultquery ? "my" : "the";
 
 print make_options(\@orders, $deforder);