Skip to content

Commit 5410e91

Browse files
committed
FOUR-21957: Completed forms in Cases do not show the data that was filled out in task
1 parent 30c7106 commit 5410e91

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎ProcessMaker/Http/Controllers/Api/TaskController.php‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ class TaskController extends Controller
6565
'completed_at', // Completed At
6666
'due_at', // Due At
6767
'process_request_id', // Request Id #
68+
'data'
6869
];
6970

7071
/**

‎ProcessMaker/Traits/TaskControllerIndexMethods.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ private function addTaskData($response)
138138
{
139139
$dataManager = new DataManager();
140140
$response->getCollection()->transform(function ($row) use ($dataManager) {
141-
$row->taskData = $dataManager->getData($row);
141+
$row->taskData = $dataManager->getData($row,true);
142142

143143
return $row;
144144
});

0 commit comments

Comments
 (0)