Commit 5c715f15 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 395771: Advanced search results sorted incorrectly when sorted by importance…

Bug 395771: Advanced search results sorted incorrectly when sorted by importance - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
parent 512ceb75
......@@ -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(',', $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,
......
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