Skip to content
Snippets Groups Projects

Resolve "Feedback page should use all feedbacks for summary"

Files

@@ -176,7 +176,7 @@ public class EditionController {
@@ -176,7 +176,7 @@ public class EditionController {
if (person.getDefaultRole() != DefaultRole.ADMIN) {
if (person.getDefaultRole() != DefaultRole.ADMIN) {
editions = editions.stream().filter(e -> !e.getHidden()).toList();
editions = editions.stream().filter(e -> !e.getHidden()).toList();
}
}
var page = PageUtil.toPage(pageable, editions);
var page = PageUtil.toPage(pageable, editions, Comparator.comparing(QueueEditionDetailsDTO::getId));
model.addAttribute("editions", page);
model.addAttribute("editions", page);
model.addAttribute("programs", cCache.getAll()
model.addAttribute("programs", cCache.getAll()
@@ -304,7 +304,8 @@ public class EditionController {
@@ -304,7 +304,8 @@ public class EditionController {
mCache.getAndIgnoreMissing(edition.getModules().stream().map(ModuleSummaryDTO::getId))
mCache.getAndIgnoreMissing(edition.getModules().stream().map(ModuleSummaryDTO::getId))
.stream()
.stream()
.flatMap(m -> m.getAssignments().stream()).toList());
.flatMap(m -> m.getAssignments().stream()).toList());
model.addAttribute("students", toPage(pageable, students));
model.addAttribute("students",
 
toPage(pageable, students, Comparator.comparing(PersonSummaryDTO::getDisplayName)));
return "edition/view/participants";
return "edition/view/participants";
}
}
Loading