Skip to content

Commit 656d8e2

Browse files
authored
Fix milestoneID filter bug in issue list (#29897)
Fix #29717
1 parent 828701f commit 656d8e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

routers/web/repo/issue.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,13 +446,13 @@ func issues(ctx *context.Context, milestoneID, projectID int64, isPullOption opt
446446
linkStr := "%s?q=%s&type=%s&sort=%s&state=%s&labels=%s&milestone=%d&project=%d&assignee=%d&poster=%d&archived=%t"
447447
ctx.Data["AllStatesLink"] = fmt.Sprintf(linkStr, ctx.Link,
448448
url.QueryEscape(keyword), url.QueryEscape(viewType), url.QueryEscape(sortType), "all", url.QueryEscape(selectLabels),
449-
mentionedID, projectID, assigneeID, posterID, archived)
449+
milestoneID, projectID, assigneeID, posterID, archived)
450450
ctx.Data["OpenLink"] = fmt.Sprintf(linkStr, ctx.Link,
451451
url.QueryEscape(keyword), url.QueryEscape(viewType), url.QueryEscape(sortType), "open", url.QueryEscape(selectLabels),
452-
mentionedID, projectID, assigneeID, posterID, archived)
452+
milestoneID, projectID, assigneeID, posterID, archived)
453453
ctx.Data["ClosedLink"] = fmt.Sprintf(linkStr, ctx.Link,
454454
url.QueryEscape(keyword), url.QueryEscape(viewType), url.QueryEscape(sortType), "closed", url.QueryEscape(selectLabels),
455-
mentionedID, projectID, assigneeID, posterID, archived)
455+
milestoneID, projectID, assigneeID, posterID, archived)
456456
ctx.Data["SelLabelIDs"] = labelIDs
457457
ctx.Data["SelectLabels"] = selectLabels
458458
ctx.Data["ViewType"] = viewType

0 commit comments

Comments
 (0)