From d7b93f801f37f050959058eb48f5e58686e78254 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" <> Date: Wed, 11 Sep 2002 06:51:05 +0000 Subject: Bug 167595 - Query - multiple-select product (and probably component) broken 2xr = bbaetz --- Bugzilla/Search.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Bugzilla') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index fc4ae6213..3c68a0a26 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'}) { -- cgit v1.2.3-24-g4f1b