Track assignee for issue (#808)

* track assignee for issue

* fix lint

* use getUserByID instead Get
This commit is contained in:
Lunny Xiao 2017-02-03 23:09:10 +08:00 committed by GitHub
parent 68bdaf0a6b
commit 3e0525b47d
5 changed files with 94 additions and 11 deletions

View file

@ -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
}
}
}