From 40dcf522e094f7d9944524dbc1ebafc61b6642c8 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 28 Sep 2005 05:08:11 +0000 Subject: Bug 307604: "Redisplay table with bug counts" should also be available from editmilestones.cgi and editversions.cgi - Patch by Frédéric Buclin r=GavinS a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- editmilestones.cgi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editmilestones.cgi') diff --git a/editmilestones.cgi b/editmilestones.cgi index b9c4e0d51..3e484bbfc 100755 --- a/editmilestones.cgi +++ b/editmilestones.cgi @@ -53,6 +53,7 @@ my $product_name = trim($cgi->param('product') || ''); my $milestone_name = trim($cgi->param('milestone') || ''); my $sortkey = trim($cgi->param('sortkey') || 0); my $action = trim($cgi->param('action') || ''); +my $showbugcounts = (defined $cgi->param('showbugcounts')); # # product = '' -> Show nice list of products @@ -62,6 +63,7 @@ unless ($product_name) { my @products = Bugzilla::Product::get_all_products(); + $vars->{'showbugcounts'} = $showbugcounts; $vars->{'products'} = \@products; $template->process("admin/milestones/select-product.html.tmpl", $vars) @@ -81,6 +83,7 @@ unless ($action) { my @milestones = Bugzilla::Milestone::get_milestones_by_product($product->id); + $vars->{'showbugcounts'} = $showbugcounts; $vars->{'product'} = $product->name; $vars->{'milestones'} = \@milestones; $vars->{'default_milestone'} = $product->default_milestone; -- cgit v1.2.3-24-g4f1b