From c19eb2b8061071d9e28d691ad722fd7696aedc6f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 7 Jun 2017 10:56:47 -0400 Subject: [PATCH] Bug 18742: Circulation statistics wizard no longer exports the total row To test: - Run the circulation wizard - Export to csv - Note there is no total row - Apply patch - Export to csv - Total row totally there! Signed-off-by: Christopher Brannon Signed-off-by: Julian Maurice --- reports/issues_stats.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reports/issues_stats.pl b/reports/issues_stats.pl index f7f5662f4b..7721b6849d 100755 --- a/reports/issues_stats.pl +++ b/reports/issues_stats.pl @@ -135,6 +135,12 @@ if ($do_it) { print map { $_->{value} . $sep } @$x; print $line->{totalrow}, "\n"; } +# footer + print "TOTAL"; + $cols = @$results[0]->{loopfooter}; + print map {$sep.$_->{totalcol}} @$cols; + print $sep.@$results[0]->{total}; + } exit; } -- 2.11.0