summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorgerv%gerv.net <>2004-01-22 09:02:25 +0100
committergerv%gerv.net <>2004-01-22 09:02:25 +0100
commit8eb6d92c00d0aa823cbe3250ad900d9b1aea5355 (patch)
tree08170f3bc2e7534eed459605ba0a5ef8c6a2a24a /Bugzilla
parentb4f84b30361bdbd95fe64f1af7e8459bcc0d1eb2 (diff)
downloadbugzilla-8eb6d92c00d0aa823cbe3250ad900d9b1aea5355.tar.gz
bugzilla-8eb6d92c00d0aa823cbe3250ad900d9b1aea5355.tar.xz
Bug 231391 - make "cumulate" option work on new charts, together with a few UI tweaks. Patch by gerv; r=kiko, a=myk.
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Chart.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/Chart.pm b/Bugzilla/Chart.pm
index 8d3d9f643..42827750f 100644
--- a/Bugzilla/Chart.pm
+++ b/Bugzilla/Chart.pm
@@ -89,6 +89,9 @@ sub init {
$self->{'datefrom'} = $cgi->param('datefrom');
$self->{'dateto'} = $cgi->param('dateto');
+ # If we are cumulating, a grand total makes no sense
+ $self->{'gt'} = 0 if $self->{'cumulate'};
+
# Make sure the dates are ones we are able to interpret
foreach my $date ('datefrom', 'dateto') {
if ($self->{$date}) {