PMCORE-2290
This commit is contained in:
@@ -4939,7 +4939,9 @@ class WorkspaceTools
|
|||||||
$case = new Cases();
|
$case = new Cases();
|
||||||
|
|
||||||
//select cases for this Process, ordered by APP_NUMBER
|
//select cases for this Process, ordered by APP_NUMBER
|
||||||
$applications = Application::where('PRO_UID', '=', $processUid)
|
$applications = Application::query()
|
||||||
|
->where('PRO_UID', '=', $processUid)
|
||||||
|
->where('APP_NUMBER', '>', 0)
|
||||||
->orderBy('APP_NUMBER', 'asc')
|
->orderBy('APP_NUMBER', 'asc')
|
||||||
->offset($start)
|
->offset($start)
|
||||||
->limit($limit)
|
->limit($limit)
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ class Application extends Model
|
|||||||
$query = Application::query()
|
$query = Application::query()
|
||||||
->select()
|
->select()
|
||||||
->proUid($proUid)
|
->proUid($proUid)
|
||||||
|
->positivesCases()
|
||||||
->orderBy('APP_NUMBER', 'ASC');
|
->orderBy('APP_NUMBER', 'ASC');
|
||||||
return $query->get();
|
return $query->get();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user