Bugfix for issue sorting. Issues sorted by ids as Integers, not Strings

This commit is contained in:
Jonathan Bernard 2010-02-12 10:07:51 -06:00
parent ddc34722c8
commit 75faf9ffc7

View File

@ -99,7 +99,7 @@ class Project {
}
public void each(Filter filter = null, Closure c) {
def is = filter?.issueSorter ?: { it.id }
def is = filter?.issueSorter ?: { it.id.toInteger() }
def ps = filter?.projectSorter ?: { it.name }
for (issue in issues.values().sort(is)) {