]> wagnertech.de Git - timetracker.git/commitdiff
Fixed export-import for renamed field.
authorNik Okuntseff <support@anuko.com>
Sun, 28 Oct 2018 20:35:40 +0000 (20:35 +0000)
committerNik Okuntseff <support@anuko.com>
Sun, 28 Oct 2018 20:35:40 +0000 (20:35 +0000)
WEB-INF/lib/ttExportHelper.class.php
WEB-INF/lib/ttImportHelper.class.php

index d0b53395280b8b1c45ca8fa644d6639a75e2c4f9..0c30b2f7667b25a6aa70ef5398b9ae917bd6382d 100644 (file)
@@ -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, "    <name><![CDATA[".$fav_report["name"]."]]></name>\n");
       fwrite($file, "  </fav_report>\n");
index 8be7a831070352ce06da3e410d789fa94bdf6493..c59f5e3f02f79b5c11aca379cc53e34b8dd68f96 100644 (file)
@@ -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 = '';