Merged in bugfix/PMCORE-3317 (pull request #8132)
PMCORE-3317 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -181,12 +181,12 @@ class Participated extends AbstractCases
|
||||
// Get the pending task
|
||||
$taskPending = Delegation::getPendingThreads($item['APP_NUMBER'], false);
|
||||
$result = [];
|
||||
$result['THREAD_TASKS'] = [];
|
||||
$result['THREAD_TITLES'] = [];
|
||||
foreach ($taskPending as $thread) {
|
||||
$thread['APP_STATUS'] = $item['APP_STATUS'];
|
||||
// Get the thread information
|
||||
$information = $this->threadInformation($thread);
|
||||
$result['THREAD_TASKS'] = [];
|
||||
$result['THREAD_TITLES'] = [];
|
||||
$result['THREAD_TASKS'][] = $information['THREAD_TASK'];
|
||||
$result['THREAD_TITLES'][] = $information['THREAD_TITLE'];
|
||||
}
|
||||
|
||||
@@ -156,11 +156,11 @@ class Supervising extends AbstractCases
|
||||
// Get the detail related to the open thread
|
||||
$taskPending = Delegation::getPendingThreads($item['APP_NUMBER']);
|
||||
$result = [];
|
||||
$result['THREAD_TASKS'] = [];
|
||||
$result['THREAD_TITLES'] = [];
|
||||
foreach ($taskPending as $thread) {
|
||||
$thread['APP_STATUS'] = $item['APP_STATUS'];
|
||||
$information = $this->threadInformation($thread);
|
||||
$result['THREAD_TASKS'] = [];
|
||||
$result['THREAD_TITLES'] = [];
|
||||
$result['THREAD_TASKS'][] = $information['THREAD_TASK'];
|
||||
$result['THREAD_TITLES'][] = $information['THREAD_TITLE'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user