diff options
author | lpsolit%gmail.com <> | 2007-09-21 01:35:08 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-09-21 01:35:08 +0200 |
commit | 5c715f1509c105f338f32c8f1d52861ea2299b23 (patch) | |
tree | 1739d9b2594ab88324dcb7fd56965bf4766fb471 /buglist.cgi | |
parent | 512ceb7508769c93e46ab581c65950fd52cfe419 (diff) | |
download | bugzilla-5c715f1509c105f338f32c8f1d52861ea2299b23.tar.gz bugzilla-5c715f1509c105f338f32c8f1d52861ea2299b23.tar.xz |
Bug 395771: Advanced search results sorted incorrectly when sorted by importance - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index f7da1626c..d04830a29 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -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, |