Skip to content

Commit ff91492

Browse files
committed
Merge branch 'DLS-Release-v1.2.0' into DLS-Release-v1.2.1
2 parents 5f3f6d3 + 8823efb commit ff91492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DigitalLearningSolutions.Data/DataServices/FrameworkDataService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2444,7 +2444,7 @@ Competencies AS c INNER JOIN
24442444
CompetencyGroups AS cg ON fcg.CompetencyGroupID = cg.ID
24452445
WHERE (fc.FrameworkID = @frameworkId)
24462446
GROUP BY fc.ID, c.ID, cg.Name, cg.Description, c.Name, c.Description, c.AlwaysShowDescription, fcg.Ordering, fc.Ordering
2447-
ORDER BY COALESCE(fcg.Ordering,99999), fc.Ordering",
2447+
ORDER BY COALESCE(fcg.Ordering,99999), fc.Ordering, fc.ID",
24482448
new { frameworkId }
24492449
);
24502450
}
@@ -2457,7 +2457,7 @@ public List<int> GetFrameworkCompetencyOrder(int frameworkId, List<int> framewor
24572457
FROM FrameworkCompetencies AS fc LEFT JOIN
24582458
FrameworkCompetencyGroups AS fcg ON fc.FrameworkCompetencyGroupID = fcg.ID
24592459
WHERE (fc.FrameworkID = @frameworkId) AND (fc.ID IN @frameworkCompetencyIds)
2460-
ORDER BY COALESCE(fcg.Ordering,99999), fc.Ordering",
2460+
ORDER BY COALESCE(fcg.Ordering,99999), fc.Ordering, fc.ID",
24612461
new { frameworkId, frameworkCompetencyIds }
24622462
).ToList();
24632463
}

0 commit comments

Comments
 (0)