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 <cbrannon@cdalibrary.org> Signed-off-by: Julian Maurice <julian.maurice@biblibre.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> (cherry picked from commitff22cb46a5) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit30811a653e) Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
e2ee7118d0
commit
5cd43029a2
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue