PMCORE-3445

This commit is contained in:
Paula Quispe
2021-10-25 16:29:27 -04:00
parent 9242c78268
commit e7bf953656

View File

@@ -78,7 +78,12 @@ class Participated extends AbstractCases
}
// Specific task
if ($this->getTaskId()) {
$query->task($this->getTaskId());
$queryTask = Delegation::query()->select('APP_NUMBER');
$queryTask->task($this->getTaskId());
$results = $queryTask->get();
$result = $results->values()->toArray();
// Filter the cases related to the specific task
$query->specificCases($result);
}
// Specific status
if ($this->getCaseStatus()) {