Fri, 23 Oct 2020 11:44:02 +0200
fixes bug in IssueSorter where ETA did not get sorted correctly
src/main/java/de/uapcore/lightpit/viewmodel/util/IssueSorter.java | file | annotate | diff | comparison | revisions |
--- 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());