We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bdddeb commit 15214bfCopy full SHA for 15214bf
DigitalLearningSolutions.Data/DataServices/FrameworkDataService.cs
@@ -301,7 +301,7 @@ FROM FrameworkCollaborators fc
301
AND aa3.UserID = (SELECT aa4.UserID FROM AdminAccounts aa4 WHERE aa4.ID = @adminId)) > 0 THEN 1
302
ELSE 0
303
END AS UserRole,
304
- (SELECT fwr.ID
+ (SELECT TOP(1) fwr.ID
305
FROM FrameworkCollaborators fc
306
INNER JOIN AdminAccounts aa3 ON fc.AdminID = aa3.ID
307
LEFT OUTER JOIN FrameworkReviews AS fwr ON fc.ID = fwr.FrameworkCollaboratorID AND fwr.Archived IS NULL AND fwr.ReviewComplete IS NULL
0 commit comments