summaryrefslogtreecommitdiffstats
path: root/editmilestones.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-09-28 07:08:11 +0200
committerlpsolit%gmail.com <>2005-09-28 07:08:11 +0200
commit40dcf522e094f7d9944524dbc1ebafc61b6642c8 (patch)
tree24c5011caf64a9abef459664c5a453c5681f5205 /editmilestones.cgi
parent8a51d31aa29bc7e0b09adeb464354832afc9c853 (diff)
downloadbugzilla-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 'editmilestones.cgi')
-rwxr-xr-xeditmilestones.cgi3
1 files changed, 3 insertions, 0 deletions
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;