PMCORE-2290
This commit is contained in:
@@ -4939,7 +4939,9 @@ class WorkspaceTools
|
||||
$case = new Cases();
|
||||
|
||||
//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')
|
||||
->offset($start)
|
||||
->limit($limit)
|
||||
|
||||
@@ -96,6 +96,7 @@ class Application extends Model
|
||||
$query = Application::query()
|
||||
->select()
|
||||
->proUid($proUid)
|
||||
->positivesCases()
|
||||
->orderBy('APP_NUMBER', 'ASC');
|
||||
return $query->get();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user