summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xquery.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/query.cgi b/query.cgi
index 350ed1cb5..23bbf58cc 100755
--- 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);