X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a536a682560e3f5d21c960994ebe410e5aef5931..e4ddcc8ecb86ac997048d648ed82402eff2cbb4a:/tofile.php diff --git a/tofile.php b/tofile.php index a06a9866..5a190f4b 100644 --- a/tofile.php +++ b/tofile.php @@ -58,10 +58,11 @@ $type = $request->getParameter('type'); $totals_only = $bean->getAttribute('chtotalsonly'); // Obtain items. +$options = ttReportHelper::getReportOptions($bean); if ($totals_only) - $subtotals = ttReportHelper::getSubtotals($bean); + $subtotals = ttReportHelper::getSubtotals($bean, $options); else - $items = ttReportHelper::getItems($bean); + $items = ttReportHelper::getItems($bean, $options); // Build a string to use as filename for the files being downloaded. $filename = strtolower($i18n->get('title.report')).'_'.$bean->mValues['start_date'].'_'.$bean->mValues['end_date'];