Skip to content

Commit 7119a81

Browse files
committed
Modified
1 parent e2c475f commit 7119a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebAPI/LearningHub.Nhs.Database/Stored Procedures/Resources/GetDashboardResources.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ BEGIN
239239
OR (r.ResourceTypeId IN (2, 7) AND (mar.Id IS NULL OR (mar.Id IS NOT NULL AND mar.PercentComplete < 100) OR ra.ActivityStart < '2020-09-07 00:00:00 +00:00'))
240240
OR (r.ResourceTypeId = 6 AND (sa.CmiCoreLesson_status NOT IN (3, 5) AND (ra.ActivityStatusId NOT IN(3, 5))))
241241
OR (r.ResourceTypeId IN (9) AND ra.ActivityStatusId NOT IN (3))
242-
OR (r.ResourceTypeId = 11 AND ((ara.Id IS NOT NULL AND ara.score < arv.PassMark) OR ra.ActivityStatusId IN (7)))
242+
OR (r.ResourceTypeId = 11 AND ((ara.Id IS NOT NULL AND ara.score < arv.PassMark) OR ra.ActivityStatusId = 7))
243243
)
244244
GROUP BY ra.ResourceId
245245
ORDER BY ResourceActivityId DESC

0 commit comments

Comments
 (0)