PMCORE-3383

This commit is contained in:
Paula Quispe
2021-09-30 12:30:00 -04:00
parent 9f51a171c2
commit 851d992407
7 changed files with 48 additions and 13 deletions

View File

@@ -164,7 +164,7 @@ class Draft extends AbstractCases
{
$query = Application::query()->select(['APPLICATION.APP_NUMBER']);
// Add the initial scope for draft cases for specific user
$query->draft($this->getUserUid());
$query->draft($this->getUserId());
// Get only one case
$query->limit(1);
// Get result