From: bbaetz%student.usyd.edu.au <> Date: Sun, 10 Nov 2002 07:17:15 +0000 (+0000) Subject: Bug 178383 - product/component query conditions appear twice X-Git-Tag: bugzilla-2.17.2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a4c7d99c6d13f7b1241d5a722aca7d8a290c1fc;p=thirdparty%2Fbugzilla.git Bug 178383 - product/component query conditions appear twice r=myk, justdave a=justdave --- diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index de40d47e04..adbdbdb2a8 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -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") {