Commit 6d6915c0 authored by Hando Lukats's avatar Hando Lukats
Browse files

TEIS-2452; implemented changes from testing

parent 125f068e
......@@ -123,7 +123,7 @@ public class RiskAssessmentPDFService {
}
});
categoryList.sort(Comparator.comparing(RiskFactorPdfCategoryDto::getSeqNo, Comparator.nullsLast(Comparator.naturalOrder()))
.thenComparing(RiskFactorPdfCategoryDto::getName));
.thenComparing(RiskFactorPdfCategoryDto::getName, Comparator.nullsLast(Comparator.naturalOrder())));
categoryList.forEach(category -> {
category.getRiskFactors().sort(Comparator.comparing(RiskFactorPdfDto::getSeqNo, Comparator.nullsLast(Comparator.naturalOrder())).thenComparing(RiskFactorPdfDto::getName));
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment