Skip to content

Commit 36239e8

Browse files
authored
Merge pull request #3179 from TechnologyEnhancedLearning/Develop/Fixes/TD-5155
TD-5155 Fixes persistence of add assessment question options
2 parents fb5af0a + 519c426 commit 36239e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DigitalLearningSolutions.Web/Models/BulkCompetenciesData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public BulkCompetenciesData(DetailFramework framework, int adminUserId, string c
3232
public bool AddCustomAssessmentQuestion { get; set; } = false;
3333
public List<int> DefaultQuestionIDs { get; set; } = [];
3434
public int? CustomAssessmentQuestionID { get; set; }
35-
public int AddAssessmentQuestionsOption { get; set; } //1 = only added, 2 = added and updated, 3 = all uploaded
35+
public int AddAssessmentQuestionsOption { get; set; } = 1; //1 = only added, 2 = added and updated, 3 = all uploaded
3636
public int CompetenciesToProcessCount { get; set; }
3737
public int CompetenciesToAddCount { get; set; }
3838
public int CompetenciesToUpdateCount { get; set; }

DigitalLearningSolutions.Web/ViewModels/Frameworks/Import/AddQuestionsToWhichCompetenciesViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public AddQuestionsToWhichCompetenciesViewModel
3333
public string FrameworkVocabularySingular { get; set; }
3434
public string FrameworkVocabularyPlural { get; set; }
3535
public int TotalQuestions { get; set; }
36-
public int AddAssessmentQuestionsOption { get; set; } = 1; //1 = only added, 2 = added and updated, 3 = all uploaded
36+
public int AddAssessmentQuestionsOption { get; set; } //1 = only added, 2 = added and updated, 3 = all uploaded
3737
public int CompetenciesToProcessCount { get; set; }
3838
public int CompetenciesToAddCount { get; set; }
3939
public int CompetenciesToUpdateCount { get; set; }

0 commit comments

Comments
 (0)