]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 167595 - Query - multiple-select product (and probably component) broken
authorbugreport%peshkin.net <>
Wed, 11 Sep 2002 06:51:05 +0000 (06:51 +0000)
committerbugreport%peshkin.net <>
Wed, 11 Sep 2002 06:51:05 +0000 (06:51 +0000)
2xr = bbaetz

Bugzilla/Search.pm

index fc4ae6213bcca3823787e2a99ed7f00bdb4a0767..3c68a0a2685ea2795de28ac8be5b0a34959e3ad0 100644 (file)
@@ -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'}) {