Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2435,7 +2435,7 @@ Competencies AS c INNER JOIN
CompetencyGroups AS cg ON fcg.CompetencyGroupID = cg.ID
WHERE (fc.FrameworkID = @frameworkId)
GROUP BY fc.ID, c.ID, cg.Name, cg.Description, c.Name, c.Description, c.AlwaysShowDescription, fcg.Ordering, fc.Ordering
ORDER BY COALESCE(fcg.Ordering,99999), fc.Ordering",
ORDER BY COALESCE(fcg.Ordering,99999), fc.Ordering, fc.ID",
new { frameworkId }
);
}
Expand All @@ -2448,7 +2448,7 @@ public List<int> GetFrameworkCompetencyOrder(int frameworkId, List<int> framewor
FROM FrameworkCompetencies AS fc LEFT JOIN
FrameworkCompetencyGroups AS fcg ON fc.FrameworkCompetencyGroupID = fcg.ID
WHERE (fc.FrameworkID = @frameworkId) AND (fc.ID IN @frameworkCompetencyIds)
ORDER BY COALESCE(fcg.Ordering,99999), fc.Ordering",
ORDER BY COALESCE(fcg.Ordering,99999), fc.Ordering, fc.ID",
new { frameworkId, frameworkCompetencyIds }
).ToList();
}
Expand Down
Loading