summaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-05-25 19:29:20 +0200
committergerv%gerv.net <>2002-05-25 19:29:20 +0200
commit9aff1000b57e713fdf7bd0ad9036f3494c503f67 (patch)
treecbe0de0249cb12ba46bb6a9d47b0e39efa84d39d /buglist.cgi
parent0075ab9936019e091e1e0ca06e692a595dbcc2cc (diff)
downloadbugzilla-9aff1000b57e713fdf7bd0ad9036f3494c503f67.tar.gz
bugzilla-9aff1000b57e713fdf7bd0ad9036f3494c503f67.tar.xz
Bug 146091 - Sort order for votes is ascending instead of descending. Patch by myk; 2xr=gerv.
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi
index 8a0ee1875..438b673ae 100755
--- a/buglist.cgi
+++ b/buglist.cgi
@@ -1356,7 +1356,7 @@ if ($order) {
}
# If we are sorting by votes, sort in descending order.
- if ($db_order =~ /bugs.votes\s+(asc|desc){0}/i) {
+ if ($db_order =~ /bugs.votes\s*(asc|desc){0}/i) {
$db_order =~ s/bugs.votes/bugs.votes desc/i;
}