show only opened milestones on issues page milestone filter (#5051)

* show only opened milestones on issues page milestone filter

* update Godoc

* update Godoc everywhere

* update swagger

* use false instead of 0

* Add seccond ordering by ID for milestones where no deadline is set
This commit is contained in:
Lanre Adelowo 2018-11-26 09:45:42 +01:00 committed by Lunny Xiao
parent d9b0b7f56e
commit 5e022a98e6
3 changed files with 6 additions and 6 deletions

View file

@ -14,11 +14,11 @@ import (
api "code.gitea.io/sdk/gitea"
)
// ListMilestones list all the milestones for a repository
// ListMilestones list all the opened milestones for a repository
func ListMilestones(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/milestones issue issueGetMilestonesList
// ---
// summary: Get all of a repository's milestones
// summary: Get all of a repository's opened milestones
// produces:
// - application/json
// parameters: