diff options
author | Zettat123 <zettat123@gmail.com> | 2024-03-19 12:46:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-19 04:46:40 +0000 |
commit | 656d8e2267dbdbb595704d507a780533038bb7ed (patch) | |
tree | f691d6710a16a7fbe8d75b7987be8832c348c6dd /routers | |
parent | 828701ff2de67e179e79c79e6b52e92e770df789 (diff) | |
download | gitea-656d8e2267dbdbb595704d507a780533038bb7ed.tar.gz gitea-656d8e2267dbdbb595704d507a780533038bb7ed.zip |
Fix milestoneID filter bug in issue list (#29897)
Fix #29717
Diffstat (limited to 'routers')
-rw-r--r-- | routers/web/repo/issue.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go index a0a500f0b2..fb03ed9d9c 100644 --- a/routers/web/repo/issue.go +++ b/routers/web/repo/issue.go @@ -446,13 +446,13 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt linkStr := "%s?q=%s&type=%s&sort=%s&state=%s&labels=%s&milestone=%d&project=%d&assignee=%d&poster=%d&archived=%t" ctx.Data["AllStatesLink"] = fmt.Sprintf(linkStr, ctx.Link, url.QueryEscape(keyword), url.QueryEscape(viewType), url.QueryEscape(sortType), "all", url.QueryEscape(selectLabels), - mentionedID, projectID, assigneeID, posterID, archived) + milestoneID, projectID, assigneeID, posterID, archived) ctx.Data["OpenLink"] = fmt.Sprintf(linkStr, ctx.Link, url.QueryEscape(keyword), url.QueryEscape(viewType), url.QueryEscape(sortType), "open", url.QueryEscape(selectLabels), - mentionedID, projectID, assigneeID, posterID, archived) + milestoneID, projectID, assigneeID, posterID, archived) ctx.Data["ClosedLink"] = fmt.Sprintf(linkStr, ctx.Link, url.QueryEscape(keyword), url.QueryEscape(viewType), url.QueryEscape(sortType), "closed", url.QueryEscape(selectLabels), - mentionedID, projectID, assigneeID, posterID, archived) + milestoneID, projectID, assigneeID, posterID, archived) ctx.Data["SelLabelIDs"] = labelIDs ctx.Data["SelectLabels"] = selectLabels ctx.Data["ViewType"] = viewType |