Merged in bugfix/PMCORE-2723 (pull request #7744)

PMCORE-2723

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Paula Quispe
2021-01-18 15:06:04 +00:00
committed by Julio Cesar Laura Avendaño

View File

@@ -182,6 +182,12 @@ class Supervising extends AbstractCases
{
// Get base query
$query = Delegation::query()->select();
// Join with application
$query->joinApplication();
// Only cases in to_do
$query->caseTodo();
// Only open threads
$query->isThreadOpen();
// Only distinct APP_NUMBER
$query->distinct();
// Get the list of processes of the supervisor
@@ -201,6 +207,12 @@ class Supervising extends AbstractCases
{
// Get base query
$query = Delegation::query()->select();
// Join with application
$query->joinApplication();
// Only cases in to_do
$query->caseTodo();
// Only open threads
$query->isThreadOpen();
// Only distinct APP_NUMBER
$query->distinct();
// Get the list of processes of the supervisor