summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Bugzilla/Search.pm6
1 files changed, 4 insertions, 2 deletions
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'}) {