PMCORE-3400

This commit is contained in:
Paula Quispe
2021-10-05 15:51:43 -04:00
parent 8b283d79d7
commit 3aa0a1a583
7 changed files with 51 additions and 27 deletions

View File

@@ -150,7 +150,7 @@ class Draft extends AbstractCases
// Add the initial scope for draft cases
$query->statusId(Application::STATUS_DRAFT);
// Filter the creator
$query->creator($this->getUserUid());
$query->creator($this->getUserId());
// Return the number of rows
return $query->count(['APPLICATION.APP_NUMBER']);
}