From 05bc3feca1539b79ff6552ed87ee992a7a4ca0f9 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Thu, 8 Aug 2002 17:42:34 +0000 Subject: Bug 55753 - if order is the first param to buglist.cgi, can't resort. Patch by gerv; r=bbaetz. --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index e8199b97c..9c3a5df91 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -1494,7 +1494,7 @@ $vars->{'closedstates'} = ['CLOSED', 'VERIFIED', 'RESOLVED']; # then we remove all non-query fields from it, f.e. the sort order (order) # and command type (cmdtype) fields. $vars->{'urlquerypart'} = $::buffer; -$vars->{'urlquerypart'} =~ s/[&?](order|cmdtype)=[^&]*//g; +$vars->{'urlquerypart'} =~ s/(order|cmdtype)=[^&]*&?//g; $vars->{'order'} = $order; # The user's login account name (i.e. email address). -- cgit v1.2.1