Bug 18742: Circulation statistics wizard no longer exports the total row
[koha.git] / reports / issues_stats.pl
index f7f5662..7721b68 100755 (executable)
@@ -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;
 }