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 d0b5339..0c30b2f 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 8be7a83..c59f5e3 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 = '';