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 --- editversions.cgi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'editversions.cgi') diff --git a/editversions.cgi b/editversions.cgi index 66e81b864..d29e4d850 100755 --- a/editversions.cgi +++ b/editversions.cgi @@ -62,6 +62,7 @@ $user->in_group('editcomponents') my $product_name = trim($cgi->param('product') || ''); my $version_name = trim($cgi->param('version') || ''); my $action = trim($cgi->param('action') || ''); +my $showbugcounts = (defined $cgi->param('showbugcounts')); # # product = '' -> Show nice list of products @@ -70,6 +71,8 @@ my $action = trim($cgi->param('action') || ''); unless ($product_name) { my @products = Bugzilla::Product::get_all_products(); + + $vars->{'showbugcounts'} = $showbugcounts; $vars->{'products'} = \@products; $template->process("admin/versions/select-product.html.tmpl", $vars) @@ -88,6 +91,7 @@ unless ($action) { my @versions = Bugzilla::Version::get_versions_by_product($product->id); + $vars->{'showbugcounts'} = $showbugcounts; $vars->{'product'} = $product->name; $vars->{'versions'} = \@versions; $template->process("admin/versions/list.html.tmpl", -- cgit v1.2.3-24-g4f1b