# HG changeset patch # User Mike Becker # Date 1602236595 -7200 # Node ID d24354f21df56b3840e7646c2d59e9475b0d577c # Parent c27638a50c9281cb397557cc697cdcb1e7464393 zero issues in a version should be displayed as DONE and not TODO diff -r c27638a50c92 -r d24354f21df5 src/main/java/de/uapcore/lightpit/entities/IssueSummary.java --- a/src/main/java/de/uapcore/lightpit/entities/IssueSummary.java Fri Oct 09 11:41:35 2020 +0200 +++ b/src/main/java/de/uapcore/lightpit/entities/IssueSummary.java Fri Oct 09 11:43:15 2020 +0200 @@ -44,7 +44,7 @@ public int getDonePercent() { int total = getTotal(); - return total > 0 ? 100*done/total : 0; + return total > 0 ? 100*done/total : 100; } /**