Fixing bug 395771 for real

git-svn-id: svn://10.0.0.236/trunk@236394 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com
2007-09-20 21:54:10 +00:00
parent a1dc8c0af9
commit 6da37c07eb

View File

@@ -946,7 +946,7 @@ $db_order =~ s/$aggregate_search/percentage_complete/g;
# Now put $db_order into a format that Bugzilla::Search can use.
# (We create $db_order as a string first because that's the way
# we did it before Bugzilla::Search took an "order" argument.)
my @orderstrings = split(/[,\s]+/, $db_order);
my @orderstrings = split(/,\s*/, $db_order);
# Generate the basic SQL query that will be used to generate the bug list.
my $search = new Bugzilla::Search('fields' => \@selectnames,