aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorLanre Adelowo <adelowomailbox@gmail.com>2018-11-26 09:45:42 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2018-11-26 16:45:42 +0800
commit5e022a98e6429d08e3a32e10fa7ba98566ab71a1 (patch)
treeb3a396bfbc3660b6037aa01c5029b2ff5b63fc4b /routers
parentd9b0b7f56ed13077fbb6f3b76f93aca582d3cfcd (diff)
downloadgitea-5e022a98e6429d08e3a32e10fa7ba98566ab71a1.tar.gz
gitea-5e022a98e6429d08e3a32e10fa7ba98566ab71a1.zip
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
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/repo/milestone.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/repo/milestone.go b/routers/api/v1/repo/milestone.go
index c621536ad7..88386c3efa 100644
--- a/routers/api/v1/repo/milestone.go
+++ b/routers/api/v1/repo/milestone.go
@@ -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: