From 62a642ebbecb8582e692c7695c91a578589c3c81 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" Date: Sat, 25 May 2002 10:29:20 +0000 Subject: [PATCH] Bug 146091 - Sort order for votes is ascending instead of descending. Patch by myk; 2xr=gerv. --- webtools/bugzilla/buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/bugzilla/buglist.cgi b/webtools/bugzilla/buglist.cgi index 8a0ee1875e1..438b673ae0c 100755 --- a/webtools/bugzilla/buglist.cgi +++ b/webtools/bugzilla/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; }