]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Stupid hack to let things work with people who have bookmarked
authorterry%mozilla.org <>
Tue, 12 Oct 1999 00:21:18 +0000 (00:21 +0000)
committerterry%mozilla.org <>
Tue, 12 Oct 1999 00:21:18 +0000 (00:21 +0000)
vote-sorting URLs using the old style.

buglist.cgi

index 6b8ae144626fa120a76e63e5c9e29b2615cece66..6afbbf12ab2a384e1d7a22c3c8b4991308d18809 100755 (executable)
@@ -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.