From d5ddb4373679d584ffa5524c854ce5fa3261cee8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sun, 9 Aug 2009 20:17:44 +0000 Subject: Bug 365259: The "Product" select menu in request.cgi doesn't group products by classifications - Patch by Frédéric Buclin r=dkl a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- request.cgi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'request.cgi') 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; } -- cgit v1.2.3-24-g4f1b