Bug 55753 - if order is the first param to buglist.cgi, can't resort. Patch by gerv; r=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@126747 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user