From: Nik Okuntseff Date: Tue, 30 Oct 2018 16:17:54 +0000 (+0000) Subject: Initial release of multiple group by in reports. X-Git-Tag: timetracker_1.19-1~746 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3be2bc61911ea52fb39774f7e569f7f9f2552b58;p=timetracker.git Initial release of multiple group by in reports. --- diff --git a/WEB-INF/config.php.dist b/WEB-INF/config.php.dist index 1fd74cce..1218f7f6 100644 --- a/WEB-INF/config.php.dist +++ b/WEB-INF/config.php.dist @@ -207,6 +207,3 @@ define('AUTH_MODULE', 'db'); // Height in pixels for the note input field in time.php. Defaults to 40. // define('NOTE_INPUT_HEIGHT', 100); - -// A temporary config option while development on multiple grouping in reports is ongoing. To be removed when done. -// define('MULTIPLE_GROUP_BY_DEBUG', false); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 7b0a56e4..f2bf5b5e 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.02.4333 | Copyright © Anuko | +  Anuko Time Tracker 1.18.03.4334 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/reports.php b/reports.php index cba09916..ae7f552c 100644 --- a/reports.php +++ b/reports.php @@ -234,10 +234,8 @@ if ($custom_fields && $custom_fields->fields[0] && $custom_fields->fields[0]['ty } $group_by_options_size = sizeof($group_by_options); $form->addInput(array('type'=>'combobox','onchange'=>'handleCheckboxes();','name'=>'group_by1','data'=>$group_by_options)); -if (defined('MULTIPLE_GROUP_BY_DEBUG') && isTrue(MULTIPLE_GROUP_BY_DEBUG)) { - if ($group_by_options_size > 2) $form->addInput(array('type'=>'combobox','name'=>'group_by2','data'=>$group_by_options)); - if ($group_by_options_size > 3) $form->addInput(array('type'=>'combobox','name'=>'group_by3','data'=>$group_by_options)); -} +if ($group_by_options_size > 2) $form->addInput(array('type'=>'combobox','name'=>'group_by2','data'=>$group_by_options)); +if ($group_by_options_size > 3) $form->addInput(array('type'=>'combobox','name'=>'group_by3','data'=>$group_by_options)); $form->addInput(array('type'=>'checkbox','name'=>'chtotalsonly')); // Add text field for a new favorite report name.