PMCORE-3676
This commit is contained in:
@@ -102,8 +102,10 @@ class Search extends AbstractCases
|
|||||||
}
|
}
|
||||||
// Filter by task
|
// Filter by task
|
||||||
if ($this->getTaskId()) {
|
if ($this->getTaskId()) {
|
||||||
// Join with delegation
|
if (!$this->getUserId()) {
|
||||||
$query->joinDelegation();
|
// Join with delegation if was not defined before
|
||||||
|
$query->joinDelegation();
|
||||||
|
}
|
||||||
// Add the filter
|
// Add the filter
|
||||||
$query->task($this->getTaskId());
|
$query->task($this->getTaskId());
|
||||||
// Get only the open threads related to the task
|
// Get only the open threads related to the task
|
||||||
|
|||||||
Reference in New Issue
Block a user