summaryrefslogtreecommitdiffstats
path: root/routers/web
diff options
context:
space:
mode:
authorZettat123 <zettat123@gmail.com>2024-03-19 05:46:40 +0100
committerEarl Warren <contact@earl-warren.org>2024-03-26 19:04:25 +0100
commit0da787f23737d252e6c80aa1a1f665e09dba0ea9 (patch)
tree2dff128ce6ad32824a5e479dcf80ddb883363e28 /routers/web
parentFix missing error check of bufio.Scanner (#29882) (diff)
downloadforgejo-0da787f23737d252e6c80aa1a1f665e09dba0ea9.tar.xz
forgejo-0da787f23737d252e6c80aa1a1f665e09dba0ea9.zip
Fix milestoneID filter bug in issue list (#29897)
Fix #29717 (cherry picked from commit 656d8e2267dbdbb595704d507a780533038bb7ed)
Diffstat (limited to 'routers/web')
-rw-r--r--routers/web/repo/issue.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/web/repo/issue.go b/routers/web/repo/issue.go
index e4193e9b79..39b33e15b3 100644
--- a/routers/web/repo/issue.go
+++ b/routers/web/repo/issue.go
@@ -451,13 +451,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