Skip to content
Snippets Groups Projects

Pre master merge fixes

Merged
Ruben Backxrequested to merge
pre-master-merge-fixes into development
All threads resolved!

Files

@@ -525,12 +525,6 @@ public class EditionController {
@PreAuthorize("@authorizationService.hasTeacherRoleInEdition(#id)")
public ResponseEntity<Resource> exportGrades(@PathVariable Long id,
@ModelAttribute("exportOptions") GradeExportOptions options) throws IOException {
if (options.getExportEditionGrade() == null)
options.setExportEditionGrade(false);
if (options.getExportModuleGrades() == null)
options.setExportModuleGrades(false);
if (options.getExportAssignmentGrades() == null)
options.setExportAssignmentGrades(false);
return csvService.getResponse(exportService.exportGradesForEdition(id, options));
}
Loading