Skip to content
Snippets Groups Projects
Commit bbf6fcac authored by srosse's avatar srosse
Browse files

OO-1728: only save the currently listed checklist ( as patch M. Schmid )

parent 16308813
No related branches found
No related tags found
No related merge requests found
...@@ -517,8 +517,8 @@ public class CheckListAssessmentController extends FormBasicController implement ...@@ -517,8 +517,8 @@ public class CheckListAssessmentController extends FormBasicController implement
private void doSave() { private void doSave() {
int numOfCheckbox = checkboxList.getNumOfCheckbox(); int numOfCheckbox = checkboxList.getNumOfCheckbox();
List<CheckListAssessmentRow> rows = model.getBackedUpRows(); List<CheckListAssessmentRow> rows = model.getObjects();
List<AssessmentBatch> batchElements = new ArrayList<>(); List<AssessmentBatch> batchElements = new ArrayList<>(rows.size());
Set<Long> assessedIdentityToUpdate = new HashSet<>(); Set<Long> assessedIdentityToUpdate = new HashSet<>();
for(CheckListAssessmentRow row:rows) { for(CheckListAssessmentRow row:rows) {
Boolean[] checked = row.getChecked(); Boolean[] checked = row.getChecked();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment