mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-08 06:25:51 +01:00
Reverse display order of milestones to ascending.
This commit is contained in:
@@ -45,5 +45,5 @@ trait MilestonesService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
def getMilestones(owner: String, repository: String): List[Milestone] =
|
def getMilestones(owner: String, repository: String): List[Milestone] =
|
||||||
Query(Milestones).filter(_.byRepository(owner, repository)).sortBy(_.milestoneId desc).list
|
Query(Milestones).filter(_.byRepository(owner, repository)).sortBy(_.milestoneId asc).list
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user