diff options
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r-- | routers/repo/issue.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index accf51d1ec..52524297da 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -223,6 +223,10 @@ func Issues(ctx *context.Context) { return } + if viewType == "assigned" { + assigneeID = 0 // Reset ID to prevent unexpected selection of assignee. + } + ctx.Data["IssueStats"] = issueStats ctx.Data["SelectLabels"] = com.StrTo(selectLabels).MustInt64() ctx.Data["ViewType"] = viewType |