Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IVYPORTAL-17541 Custom fields are missing in Excel file in Case Widget #1015

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading