Skip to content

Commit

Permalink
Merge branch 'DLS-Release-v1.3.0' of https://github.com/TechnologyEnh…
Browse files Browse the repository at this point in the history
…ancedLearning/DLSV2 into DLS-Release-v1.3.0
  • Loading branch information
kevwhitt-hee committed Feb 11, 2025
2 parents 697b272 + df96df3 commit c075311
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ public class FrameworkDataService : IFrameworkDataService
fwr.ID AS FrameworkReviewID";

private const string BrandedFrameworkFields =
@",(SELECT BrandName
@", FW.Description, (SELECT BrandName
FROM Brands
WHERE (BrandID = FW.BrandID)) AS Brand,
(SELECT CategoryName
Expand Down Expand Up @@ -2174,15 +2174,15 @@ public void ArchiveReviewRequest(int reviewId)
FROM FrameworkCollaborators
WHERE (FrameworkID = FW.ID) AND (IsDeleted=0)))) AS MyFrameworksCount,
(SELECT COUNT(*) FROM SelfAssessments) AS RoleProfileCount,
(SELECT COUNT(*) FROM SelfAssessments) AS CompetencyAssessmentCount,
(SELECT COUNT(*) FROM SelfAssessments AS RP LEFT OUTER JOIN
SelfAssessmentCollaborators AS RPC ON RPC.SelfAssessmentID = RP.ID AND RPC.AdminID = @adminId
WHERE (RP.CreatedByAdminID = @adminId) OR
(@adminId IN
(SELECT AdminID
FROM SelfAssessmentCollaborators
WHERE (SelfAssessmentID = RP.ID)))) AS MyRoleProfileCount",
WHERE (SelfAssessmentID = RP.ID)))) AS MyCompetencyAssessmentCount",
new { adminId }
).FirstOrDefault();
}
Expand All @@ -2192,7 +2192,7 @@ public IEnumerable<DashboardToDoItem> GetDashboardToDoItems(int adminId)
return connection.Query<DashboardToDoItem>(
@"SELECT
FW.ID AS FrameworkID,
0 AS RoleProfileID,
0 AS CompetencyAssessmentID,
FW.FrameworkName AS ItemName,
AU.Forename + ' ' + AU.Surname + (CASE WHEN AU.Active = 1 THEN '' ELSE ' (Inactive)' END) AS RequestorName,
FWR.SignOffRequired,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ CompetencyTableRow competencyRow
}



return maxFrameworkCompetencyGroupId;
}

Expand Down
1 change: 0 additions & 1 deletion DigitalLearningSolutions.Web/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@
<partial name="_UserFeedbackBarPartial" model=@(userResearchUrl) />
</feature>


</header>
<div class="nhsuk-grid-row">
@RenderSection("NavBreadcrumbs", false)
Expand Down

0 comments on commit c075311

Please sign in to comment.