Skip to content

Commit 7c47791

Browse files
authored
Merge pull request #3430 from TechnologyEnhancedLearning/Develop/Features/TD-5563-Allowuserstochangetheprimaryframework
TD-5563 Resolving removing framework with primary issue
2 parents 6e68ed0 + 9d3c24f commit 7c47791

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Data/DataServices/CompetencyAssessmentDataService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ WHERE NOT EXISTS (SELECT 1 FROM SelfAssessmentFrameworks WHERE SelfAssessmentId
388388
{
389389
numberOfAffectedRows = connection.Execute(
390390
@"UPDATE SelfAssessmentFrameworks
391-
SET RemovedDate = NULL, RemovedByAdminId = NULL, AmendedByAdminId = @adminId
391+
SET RemovedDate = NULL, RemovedByAdminId = NULL, AmendedByAdminId = @adminId, IsPrimary = 0
392392
WHERE SelfAssessmentId = @selfAssessmentId AND FrameworkId = @frameworkId"
393393
,
394394
new { adminId, selfAssessmentId, frameworkId }

0 commit comments

Comments
 (0)