Commit b5e7fcce authored by terry%mozilla.org's avatar terry%mozilla.org

"Change several bugs" was losing the sort order.

parent 9f7937f7
...@@ -529,11 +529,14 @@ $fields =~ s/[&?]order=[^&]*//g; ...@@ -529,11 +529,14 @@ $fields =~ s/[&?]order=[^&]*//g;
$fields =~ s/[&?]cmdtype=[^&]*//g; $fields =~ s/[&?]cmdtype=[^&]*//g;
my $orderpart;
my $oldorder; my $oldorder;
if (defined $::FORM{'order'} && trim($::FORM{'order'}) ne "") { if (defined $::FORM{'order'} && trim($::FORM{'order'}) ne "") {
$orderpart = "&order=" . url_quote("$::FORM{'order'}");
$oldorder = url_quote(", $::FORM{'order'}"); $oldorder = url_quote(", $::FORM{'order'}");
} else { } else {
$orderpart = "";
$oldorder = ""; $oldorder = "";
} }
...@@ -894,7 +897,7 @@ if ($count > 0) { ...@@ -894,7 +897,7 @@ if ($count > 0) {
&nbsp;&nbsp;<A HREF=\"enter_bug.cgi\">Enter New Bug</A> &nbsp;&nbsp;<A HREF=\"enter_bug.cgi\">Enter New Bug</A>
&nbsp;&nbsp;<A HREF=\"colchange.cgi?$::buffer\">Change columns</A>"; &nbsp;&nbsp;<A HREF=\"colchange.cgi?$::buffer\">Change columns</A>";
if (!$dotweak && $count > 1) { if (!$dotweak && $count > 1) {
print "&nbsp;&nbsp;<A HREF=\"buglist.cgi?$fields&tweak=1\">"; print "&nbsp;&nbsp;<A HREF=\"buglist.cgi?$fields$orderpart&tweak=1\">";
print "Change several bugs at once</A>\n"; print "Change several bugs at once</A>\n";
} }
print "</FORM>\n"; print "</FORM>\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment