diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2017-02-03 23:09:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-03 23:09:10 +0800 |
commit | 3e0525b47d2d84a251341950cb08da36f42663dd (patch) | |
tree | c3ca9207bccf61968eb2cbab99bc2f06b1235e87 /routers | |
parent | 68bdaf0a6b712b522dd465f72a32195f410134a3 (diff) | |
download | gitea-3e0525b47d2d84a251341950cb08da36f42663dd.tar.gz gitea-3e0525b47d2d84a251341950cb08da36f42663dd.zip |
Track assignee for issue (#808)
* track assignee for issue
* fix lint
* use getUserByID instead Get
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/issue.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index a5ec136bee..8e8d058f2c 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -615,6 +615,11 @@ func ViewIssue(ctx *context.Context) { ctx.Handle(500, "LoadMilestone", err) return } + } else if comment.Type == models.CommentTypeAssignees { + if err = comment.LoadAssignees(); err != nil { + ctx.Handle(500, "LoadAssignees", err) + return + } } } |