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

Stupid hack to let things work with people who have bookmarked

vote-sorting URLs using the old style.
parent 73627e59
......@@ -462,6 +462,8 @@ $query .= "group by bugs.bug_id\n";
if (defined $::FORM{'order'} && $::FORM{'order'} ne "") {
$query .= "order by ";
$::FORM{'order'} =~ s/votesum/bugs.votes/; # Silly backwards compatability
# hack.
ORDER: for ($::FORM{'order'}) {
/\./ && do {
# This (hopefully) already has fieldnames in it, so we're done.
......
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