]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 178383 - product/component query conditions appear twice
authorbbaetz%student.usyd.edu.au <>
Sun, 10 Nov 2002 07:17:15 +0000 (07:17 +0000)
committerbbaetz%student.usyd.edu.au <>
Sun, 10 Nov 2002 07:17:15 +0000 (07:17 +0000)
r=myk, justdave
a=justdave

Bugzilla/Search.pm

index de40d47e04c4a0bcd7498808ceb5a01e87d2308c..adbdbdb2a87c6b53bf9fc604470eedb1fa0772b8 100644 (file)
@@ -148,20 +148,6 @@ sub init {
         }
     }
 
-    if ($params->param('product')) {
-        push(@supptables, "products products_");
-        push(@wherepart, "products_.id = bugs.product_id");
-        push(@specialchart, ["products_.name", "anyexact",
-                             join(',',$params->param('product'))]);
-    }
-
-    if ($params->param('component')) {
-        push(@supptables, "components components_");
-        push(@wherepart, "components_.id = bugs.component_id");
-        push(@specialchart, ["components_.name", "anyexact",
-                             join(',',$params->param('component'))]);
-    }
-
     if ($params->param('keywords')) {
         my $t = $params->param('keywords_type');
         if (!$t || $t eq "or") {