diff --git a/src/Ermes.Application/Ermes/Dashboard/DashboardAppService.cs b/src/Ermes.Application/Ermes/Dashboard/DashboardAppService.cs index 30b7db8..af2575a 100644 --- a/src/Ermes.Application/Ermes/Dashboard/DashboardAppService.cs +++ b/src/Ermes.Application/Ermes/Dashboard/DashboardAppService.cs @@ -147,7 +147,7 @@ public virtual async Task GetStatistics(GetStatisticsInput if (_session.LoggedUserPerson.OrganizationId.HasValue) queryMapRequests = queryMapRequests.DataOwnership(new List() { _session.LoggedUserPerson.OrganizationId.Value }); } - queryMapRequests = queryMapRequests.Where(x => x.Status != MapRequestStatusType.Canceled); + queryMapRequests = queryMapRequests.Where(x => x.StatusString != MapRequestStatusType.Canceled.ToString()); ////////////////////// //Alerts///////////