Skip to content

Commit

Permalink
feature/IVYPORTAL-17541-Custom-fields-are-missing-in-Excel-file-in-Ca…
Browse files Browse the repository at this point in the history
…se-Widget-LE (#1015)
  • Loading branch information
ntloc-axonivy authored Sep 10, 2024
1 parent 3807e7f commit 691b26f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down Expand Up @@ -97,15 +97,15 @@ 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
* @return case column value
*/
private Object getCustomColumnValue(String column, ICase caseItem) {
String[] columnParts = getCustomColumnParts(column);
if (columnParts.length != 3) {
if (columnParts.length != 4) {
return "";
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 691b26f

Please sign in to comment.