X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e99d8df6059bacd85be829c9a369f6a1e2994882..405a3dc75eaf770313b2da57bc25088e5c6e76bd:/report.php diff --git a/report.php b/report.php index efbaccea..5f7e687b 100644 --- a/report.php +++ b/report.php @@ -192,12 +192,14 @@ if ($report_items && 'no_grouping' != $group_by1) { } // Determine group by header. if ('no_grouping' != $group_by) { + /* if ('cf_1' == $group_by) $smarty->assign('group_by_header', $custom_fields->fields[0]['label']); else { $key = 'label.'.$group_by; $smarty->assign('group_by_header', $i18n->get($key)); - } + } */ + $smarty->assign('group_by_header', ttReportHelper::makeGroupByHeader($options)); } // Assign variables that are used to alternate color of rows for different dates. $smarty->assign('prev_date', '');