From: terry%mozilla.org <> Date: Tue, 12 Oct 1999 00:21:18 +0000 (+0000) Subject: Stupid hack to let things work with people who have bookmarked X-Git-Tag: bugzilla-2.8~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1ccde5b60c9653a8483266ab7816afc480e8d35;p=thirdparty%2Fbugzilla.git Stupid hack to let things work with people who have bookmarked vote-sorting URLs using the old style. --- diff --git a/buglist.cgi b/buglist.cgi index 6b8ae14462..6afbbf12ab 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.