From 328e9f6cee0b2ef556e2f5b8a3eb0e39297f430f Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 20 Sep 2007 23:36:59 +0000 Subject: [PATCH] =?utf8?q?Bug=20395771:=20Advanced=20search=20results=20so?= =?utf8?q?rted=20incorrectly=20when=20sorted=20by=20importance=20-=20Patch?= =?utf8?q?=20by=20Fr=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r=3Djustdave=20a=3DLpSolit?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- buglist.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buglist.cgi b/buglist.cgi index ddf31ddfff..81b0f2c21d 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -932,7 +932,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, -- 2.47.2