diff --git a/AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/exporter/CaseDashboardExporter.java b/AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/exporter/CaseDashboardExporter.java index 24b8d8bddfb..6c08e971197 100644 --- a/AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/exporter/CaseDashboardExporter.java +++ b/AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/exporter/CaseDashboardExporter.java @@ -55,14 +55,14 @@ public String getColumnName(String column) { /** * Get header text from the custom column - * Custom column format: fieldType__fieldName__header + * Custom column format: fieldFormat__fieldName__header__fieldType * * @param column * @return header text */ private String getCustomColumnName(String column) { String[] columnParts = getCustomColumnParts(column); - if (columnParts.length != 3) { + if (columnParts.length != 4) { return ""; } return columnParts[2]; @@ -97,7 +97,7 @@ private Object getCommonColumnValue(DashboardStandardCaseColumn sortField, ICase /** * Get custom column value - * Custom column format: fieldType__fieldName__header + * Custom column format: fieldFormat__fieldName__header__fieldType * * @param column * @param caseItem @@ -105,7 +105,7 @@ private Object getCommonColumnValue(DashboardStandardCaseColumn sortField, ICase */ private Object getCustomColumnValue(String column, ICase caseItem) { String[] columnParts = getCustomColumnParts(column); - if (columnParts.length != 3) { + if (columnParts.length != 4) { return ""; } diff --git a/AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/exporter/TaskDashboardExporter.java b/AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/exporter/TaskDashboardExporter.java index 6ac771f666e..eea15914ba7 100644 --- a/AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/exporter/TaskDashboardExporter.java +++ b/AxonIvyPortal/portal/src/ch/ivy/addon/portalkit/exporter/TaskDashboardExporter.java @@ -56,7 +56,7 @@ public String getColumnName(String column) { /** * Get header text from the custom column - * Custom column format: fieldType__fieldName__header + * Custom column format: fieldFormat__fieldName__header__fieldType * * @param column * @return customColumnName