Skip to content

Commit 576fbef

Browse files
authored
Merge pull request #3028 from TechnologyEnhancedLearning/Develop/Fixes/TD-5128-ManageConfirmationrequest-Outstandingrequestshoulddisplayonlytherequestthatismatchingtheadmincategory
TD-5128 Manage Confirmation request - Outstanding request should display only the request that is matching the admin category
2 parents 6e6f152 + 185537c commit 576fbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Data/DataServices/SelfAssessmentDataService/CompetencyDataService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public IEnumerable<Competency> GetResultSupervisorVerifications(int selfAssessme
288288
INNER JOIN DelegateAccounts DA1 ON CA.DelegateUserID = DA1.UserID AND au.CentreID = DA1.CentreID AND DA1.Active=1
289289
WHERE (LAR.Verified IS NULL) 
290290
AND ((LAR.Result IS NOT NULL) OR (LAR.SupportingComments IS NOT NULL)) 
291-
AND (LAR.Requested IS NOT NULL)
291+
AND (LAR.Requested IS NOT NULL) AND (au.CategoryID = 0 OR au.CategoryID = (select CategoryID from SelfAssessments where ID = @selfAssessmentId))
292292
ORDER BY SupervisorVerificationRequested DESC, C.Name",
293293
(competency, assessmentQuestion) =>
294294
{

0 commit comments

Comments
 (0)