We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52c6bb6 commit 2aeb8e8Copy full SHA for 2aeb8e8
src/main/java/de/doubleslash/keeptime/view/ReportController.java
@@ -186,7 +186,7 @@ private void updateReport(final LocalDate dateToShow) {
186
colorTimeLine.update(currentWorkItems, controller.calcSeconds(currentWorkItems));
187
188
final SortedSet<Project> workedProjectsSet = currentWorkItems.stream().map(Work::getProject)
189
- .collect(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(Project::getName))));
+ .collect(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(Project::getIndex))));
190
191
long currentWorkSeconds = 0;
192
long currentSeconds = 0;
0 commit comments