Commit 9aff1000 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 146091 - Sort order for votes is ascending instead of descending. Patch by myk; 2xr=gerv.

parent 0075ab99
......@@ -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;
}
......
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