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-17763 Display Case custom field on Task widget #1134

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 @@ -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
Loading