# HG changeset patch # User Mike Becker # Date 1603446242 -7200 # Node ID 4a391ffa30d32e42f60c6d3c2deb67708385a9ef # Parent c0549bcdf2ab064955027050b29843037d63325f fixes bug in IssueSorter where ETA did not get sorted correctly diff -r c0549bcdf2ab -r 4a391ffa30d3 src/main/java/de/uapcore/lightpit/viewmodel/util/IssueSorter.java --- a/src/main/java/de/uapcore/lightpit/viewmodel/util/IssueSorter.java Fri Oct 23 11:17:37 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/viewmodel/util/IssueSorter.java Fri Oct 23 11:44:02 2020 +0200 @@ -48,7 +48,7 @@ if (left.getEta() != null && right.getEta() != null) result = left.getEta().compareTo(right.getEta()); else - result = left != null ? -1 : 1; + result = left.getEta() != null ? -1 : 1; break; case UPDATED: result = left.getUpdated().compareTo(right.getUpdated());