From: Nik Okuntseff Date: Sun, 28 Oct 2018 20:35:40 +0000 (+0000) Subject: Fixed export-import for renamed field. X-Git-Tag: timetracker_1.19-1~754 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/commitdiff_plain/9e3d2ed2e3128245418e5cf5aff39f8695958d9a?ds=sidebyside Fixed export-import for renamed field. --- diff --git a/WEB-INF/lib/ttExportHelper.class.php b/WEB-INF/lib/ttExportHelper.class.php index d0b53395..0c30b2f7 100644 --- a/WEB-INF/lib/ttExportHelper.class.php +++ b/WEB-INF/lib/ttExportHelper.class.php @@ -304,7 +304,7 @@ class ttExportHelper { " show_note=\"".$fav_report['show_note']."\"". " show_custom_field_1=\"".$fav_report['show_custom_field_1']."\"". " show_work_units=\"".$fav_report['show_work_units']."\"". - " group_by=\"".$fav_report['group_by']."\"". + " group_by1=\"".$fav_report['group_by1']."\"". " show_totals_only=\"".$fav_report['show_totals_only']."\">\n"); fwrite($file, " \n"); fwrite($file, " \n"); diff --git a/WEB-INF/lib/ttImportHelper.class.php b/WEB-INF/lib/ttImportHelper.class.php index 8be7a831..c59f5e3f 100644 --- a/WEB-INF/lib/ttImportHelper.class.php +++ b/WEB-INF/lib/ttImportHelper.class.php @@ -335,7 +335,7 @@ class ttImportHelper { 'chnote' => (int) $this->currentElement['SHOW_NOTE'], 'chcf_1' => (int) $this->currentElement['SHOW_CUSTOM_FIELD_1'], 'chunits' => (int) $this->currentElement['SHOW_WORK_UNITS'], - 'group_by' => $this->currentElement['GROUP_BY'], + 'group_by1' => $this->currentElement['GROUP_BY1'], 'chtotalsonly' => (int) $this->currentElement['SHOW_TOTALS_ONLY'])); } $this->currentTag = '';