Skip to content
Snippets Groups Projects

Resolve "Hide editions on view many job offers page if all offers are hidden"

Files

@@ -157,7 +157,6 @@ public class JobOfferController {
.collect(Collectors.toSet());
List<JobOfferSummaryDTO> offers = offerDetails.stream()
.filter(o -> coursesInProgram.contains(o.getEdition().getCourse().getId()))
.filter(o -> Objects.equals(o.getHidden(), false))
.map(x -> (JobOfferSummaryDTO) x).collect(Collectors.toList());
// Sort editions based on Cohort, exclude masters and add them to the end.
Loading