Skip to content

Commit c075311

Browse files
committed
Merge branch 'DLS-Release-v1.3.0' of https://github.com/TechnologyEnhancedLearning/DLSV2 into DLS-Release-v1.3.0
2 parents 697b272 + df96df3 commit c075311

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

DigitalLearningSolutions.Data/DataServices/FrameworkDataService.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public class FrameworkDataService : IFrameworkDataService
284284
fwr.ID AS FrameworkReviewID";
285285

286286
private const string BrandedFrameworkFields =
287-
@",(SELECT BrandName
287+
@", FW.Description, (SELECT BrandName
288288
FROM Brands
289289
WHERE (BrandID = FW.BrandID)) AS Brand,
290290
(SELECT CategoryName
@@ -2174,15 +2174,15 @@ public void ArchiveReviewRequest(int reviewId)
21742174
FROM FrameworkCollaborators
21752175
WHERE (FrameworkID = FW.ID) AND (IsDeleted=0)))) AS MyFrameworksCount,
21762176
2177-
(SELECT COUNT(*) FROM SelfAssessments) AS RoleProfileCount,
2177+
(SELECT COUNT(*) FROM SelfAssessments) AS CompetencyAssessmentCount,
21782178
21792179
(SELECT COUNT(*) FROM SelfAssessments AS RP LEFT OUTER JOIN
21802180
SelfAssessmentCollaborators AS RPC ON RPC.SelfAssessmentID = RP.ID AND RPC.AdminID = @adminId
21812181
WHERE (RP.CreatedByAdminID = @adminId) OR
21822182
(@adminId IN
21832183
(SELECT AdminID
21842184
FROM SelfAssessmentCollaborators
2185-
WHERE (SelfAssessmentID = RP.ID)))) AS MyRoleProfileCount",
2185+
WHERE (SelfAssessmentID = RP.ID)))) AS MyCompetencyAssessmentCount",
21862186
new { adminId }
21872187
).FirstOrDefault();
21882188
}
@@ -2192,7 +2192,7 @@ public IEnumerable<DashboardToDoItem> GetDashboardToDoItems(int adminId)
21922192
return connection.Query<DashboardToDoItem>(
21932193
@"SELECT
21942194
FW.ID AS FrameworkID,
2195-
0 AS RoleProfileID,
2195+
0 AS CompetencyAssessmentID,
21962196
FW.FrameworkName AS ItemName,
21972197
AU.Forename + ' ' + AU.Surname + (CASE WHEN AU.Active = 1 THEN '' ELSE ' (Inactive)' END) AS RequestorName,
21982198
FWR.SignOffRequired,

DigitalLearningSolutions.Web/Services/ImportCompetenciesFromFileService.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,6 @@ CompetencyTableRow competencyRow
296296
}
297297

298298

299-
300299
return maxFrameworkCompetencyGroupId;
301300
}
302301

DigitalLearningSolutions.Web/Views/Shared/_Layout.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@
159159
<partial name="_UserFeedbackBarPartial" model=@(userResearchUrl) />
160160
</feature>
161161

162-
163162
</header>
164163
<div class="nhsuk-grid-row">
165164
@RenderSection("NavBreadcrumbs", false)

0 commit comments

Comments
 (0)