From: bugreport%peshkin.net <> Date: Wed, 11 Sep 2002 06:51:05 +0000 (+0000) Subject: Bug 167595 - Query - multiple-select product (and probably component) broken X-Git-Tag: bugzilla-2.17.1~145 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7b93f801f37f050959058eb48f5e58686e78254;p=thirdparty%2Fbugzilla.git Bug 167595 - Query - multiple-select product (and probably component) broken 2xr = bbaetz --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index fc4ae6213b..3c68a0a268 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -129,13 +129,15 @@ sub init { if ($F{'product'}) { push(@supptables, "products products_"); push(@wherepart, "products_.id = bugs.product_id"); - push(@specialchart, ["products_.name", "anyexact", $F{'product'}]); + push(@specialchart, ["products_.name", "anyexact", + join(',',@{$M{'product'}})]); } if ($F{'component'}) { push(@supptables, "components components_"); push(@wherepart, "components_.id = bugs.component_id"); - push(@specialchart, ["components_.name", "anyexact", $F{'component'}]); + push(@specialchart, ["components_.name", "anyexact", + join(',',@{$M{'component'}})]); } if ($F{'keywords'}) {