diff options
author | lpsolit%gmail.com <> | 2009-08-09 22:17:44 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-08-09 22:17:44 +0200 |
commit | d5ddb4373679d584ffa5524c854ce5fa3261cee8 (patch) | |
tree | 2d6264bb85c1d47bb84c769275010aa3ad38b901 /request.cgi | |
parent | dd6720f4af864e29e49d26befe1ec1b04a92a71c (diff) | |
download | bugzilla-d5ddb4373679d584ffa5524c854ce5fa3261cee8.tar.gz bugzilla-d5ddb4373679d584ffa5524c854ce5fa3261cee8.tar.xz |
Bug 365259: The "Product" select menu in request.cgi doesn't group products by classifications - Patch by Frédéric Buclin <LpSolit@gmail.com> r=dkl a=LpSolit
Diffstat (limited to 'request.cgi')
-rwxr-xr-x | request.cgi | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/request.cgi b/request.cgi index 5dfb76ddb..594ed1833 100755 --- a/request.cgi +++ b/request.cgi @@ -73,12 +73,11 @@ else { my @types = ('all', @$flagtypes); my $vars = {}; - $vars->{'products'} = $user->get_selectable_products; $vars->{'types'} = \@types; $vars->{'requests'} = {}; my %components; - foreach my $prod (@{$vars->{'products'}}) { + foreach my $prod (@{$user->get_selectable_products}) { foreach my $comp (@{$prod->components}) { $components{$comp->name} = 1; } @@ -303,14 +302,13 @@ sub queue { my $flagtypes = get_flag_types(); push(@types, @$flagtypes); - $vars->{'products'} = $user->get_selectable_products; $vars->{'excluded_columns'} = \@excluded_columns; $vars->{'group_field'} = $form_group; $vars->{'requests'} = \@requests; $vars->{'types'} = \@types; my %components; - foreach my $prod (@{$vars->{'products'}}) { + foreach my $prod (@{$user->get_selectable_products}) { foreach my $comp (@{$prod->components}) { $components{$comp->name} = 1; } |