Skip to content

Commit

Permalink
Merge pull request #1134 from axonivy-market/feature/IVYPORTAL-17763-…
Browse files Browse the repository at this point in the history
…Display-Case-custom-field-on-Task-widget-LE

feature/IVYPORTAL-17763-Display-Case-custom-field-on-Task-widget-LE
  • Loading branch information
chnam-axonivy authored Oct 17, 2024
2 parents e766d4b + 63965f2 commit e7e2e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class TaskColumnModel extends ColumnModel {

public Object display(ITask task) {
if (type == DashboardColumnType.CUSTOM_CASE) {
ICustomFields customFields = task.getCase().customFields();
ICustomFields customFields = task.getCase().getBusinessCase().customFields();
return getCustomFieldValue(customFields);
} else {
ICustomFields customFields = task.customFields();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ private Object getCustomColumnValue(String column, ITask taskItem) {
}
ICustomFields customFields;
if (type.equals(DashboardColumnFormat.CUSTOM_CASE.name())) {
customFields = taskItem.getCase().customFields();
customFields = taskItem.getCase().getBusinessCase().customFields();
} else {
customFields = taskItem.customFields();
}
Expand Down

0 comments on commit e7e2e3f

Please sign in to comment.