PMCORE-3427

This commit is contained in:
Paula Quispe
2021-10-18 15:23:11 -04:00
parent 8ab5fcfe01
commit a75367959b
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()) {