diff options
author | lpsolit%gmail.com <> | 2005-09-28 07:08:11 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-09-28 07:08:11 +0200 |
commit | 40dcf522e094f7d9944524dbc1ebafc61b6642c8 (patch) | |
tree | 24c5011caf64a9abef459664c5a453c5681f5205 /editversions.cgi | |
parent | 8a51d31aa29bc7e0b09adeb464354832afc9c853 (diff) | |
download | bugzilla-40dcf522e094f7d9944524dbc1ebafc61b6642c8.tar.gz bugzilla-40dcf522e094f7d9944524dbc1ebafc61b6642c8.tar.xz |
Bug 307604: "Redisplay table with bug counts" should also be available from editmilestones.cgi and editversions.cgi - Patch by Frédéric Buclin <LpSolit@gmail.com> r=GavinS a=justdave
Diffstat (limited to 'editversions.cgi')
-rwxr-xr-x | editversions.cgi | 4 |
1 files changed, 4 insertions, 0 deletions
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", |