X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=report.php;h=28e086c4dadd0306ee99b14df37dc3957344a9a9;hb=03c03896828d818303c12dfe2e368f5bd9e7dbae;hp=f6abcc4c6a691613a2ee8f65fc58f58631efda91;hpb=7562c5b6d68929eb4787749f8c10dc032ee9a1c7;p=timetracker.git diff --git a/report.php b/report.php index f6abcc4c..28e086c4 100644 --- a/report.php +++ b/report.php @@ -173,6 +173,8 @@ if ($request->isPost()) { $group_by = $bean->getAttribute('group_by1'); $options = ttReportHelper::getReportOptions($bean); + +$group_by_tag = ttReportHelper::makeGroupByXmlTag($options); $report_items = ttReportHelper::getItems($options); // Store record ids in session in case user wants to act on records such as marking them all paid. if ($request->isGet() && $user->isPluginEnabled('ps')) @@ -201,6 +203,9 @@ if ('no_grouping' != $group_by) { } */ $smarty->assign('group_by_header', ttReportHelper::makeGroupByHeader($options)); } + +$smarty->assign('group_by', $group_by_tag); + // Assign variables that are used to alternate color of rows for different dates. $smarty->assign('prev_date', ''); $smarty->assign('cur_date', '');