Bug 180460 request.cgi doesn't filter list of products/components

patch by joel
r=bbaetz
a=justdave


git-svn-id: svn://10.0.0.236/trunk@134393 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bugreport%peshkin.net
2002-11-25 05:38:09 +00:00
parent 122c621103
commit b9d847372f
2 changed files with 49 additions and 3 deletions

View File

@@ -254,9 +254,10 @@ sub queue {
# menu when the products menu changes; used by the template to populate
# the menus and keep the components menu consistent with the products menu
GetVersionTable();
$vars->{'products'} = \@::legal_product;
$vars->{'components'} = \@::legal_components;
$vars->{'components_by_product'} = \%::components;
my $enterable = GetEnterableProductHash();
$vars->{'products'} = $enterable->{legal_products};
$vars->{'components'} = $enterable->{legal_components};
$vars->{'components_by_product'} = $enterable->{components};
$vars->{'excluded_columns'} = \@excluded_columns;
$vars->{'group_field'} = $::FORM{'group'};