summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorterry%mozilla.org <>1999-10-12 02:21:18 +0200
committerterry%mozilla.org <>1999-10-12 02:21:18 +0200
commitd1ccde5b60c9653a8483266ab7816afc480e8d35 (patch)
tree6d16329442af01815eae24d6365c99aabbbfdb48 /buglist.cgi
parent73627e594d61e4606b57880cb35bdc50efb3e900 (diff)
downloadbugzilla-d1ccde5b60c9653a8483266ab7816afc480e8d35.tar.gz
bugzilla-d1ccde5b60c9653a8483266ab7816afc480e8d35.tar.xz
Stupid hack to let things work with people who have bookmarked
vote-sorting URLs using the old style.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 6b8ae1446..6afbbf12a 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -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.