From 5aa2bf86f4cb9b3c6c472a3f8f1db10331f27c65 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sun, 17 Jul 2016 09:25:30 +0800 Subject: Update locales and .gopmfile --- routers/repo/issue.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'routers/repo/issue.go') diff --git a/routers/repo/issue.go b/routers/repo/issue.go index accf51d1..52524297 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 -- cgit v1.2.3