summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugreport%peshkin.net <>2002-09-11 08:51:05 +0200
committerbugreport%peshkin.net <>2002-09-11 08:51:05 +0200
commitd7b93f801f37f050959058eb48f5e58686e78254 (patch)
tree13d70b0988301865e725fba8312f937c4bc760a1
parent9603e1cec0c6c1d3e922a43df2b7313146cdba9b (diff)
downloadbugzilla-d7b93f801f37f050959058eb48f5e58686e78254.tar.gz
bugzilla-d7b93f801f37f050959058eb48f5e58686e78254.tar.xz
Bug 167595 - Query - multiple-select product (and probably component) broken
2xr = bbaetz
-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'}) {