From 8e32a0b10100ace2d9534c18e64bfbe1dfee80f4 Mon Sep 17 00:00:00 2001 From: "bugreport%peshkin.net" Date: Tue, 10 Sep 2002 23:51:05 +0000 Subject: [PATCH] Bug 167595 - Query - multiple-select product (and probably component) broken 2xr = bbaetz git-svn-id: svn://10.0.0.236/trunk@129180 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Search.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Search.pm b/mozilla/webtools/bugzilla/Bugzilla/Search.pm index fc4ae6213bc..3c68a0a2685 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Search.pm +++ b/mozilla/webtools/bugzilla/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'}) {