Merged in bugfix/PMCORE-3427 (pull request #8224)

PMCORE-3427

Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
Paula Quispe
2021-10-19 13:45:41 +00:00
committed by Julio Cesar Laura Avendaño
2 changed files with 8 additions and 2 deletions

View File

@@ -67,7 +67,10 @@ class Participated extends AbstractCases
}
// Specific case title
if (!empty($this->getCaseTitle())) {
$query->title($this->getCaseTitle());
// Get the result
$result = Delegation::casesThreadTitle($this->getCaseTitle(), $this->getOffset(), $this->getLimit());
// Add the filter
$query->specificCases($result);
}
// Scope to search for an specific process
if ($this->getProcessId()) {

View File

@@ -65,7 +65,10 @@ class Supervising extends AbstractCases
}
// Specific case title
if (!empty($this->getCaseTitle())) {
$query->title($this->getCaseTitle());
// Get the result
$result = Delegation::casesThreadTitle($this->getCaseTitle(), $this->getOffset(), $this->getLimit());
// Add the filter
$query->specificCases($result);
}
// Scope to search for an specific process
if ($this->getProcessId()) {