summaryrefslogtreecommitdiffstats
path: root/models/issue_list.go
diff options
context:
space:
mode:
authorLauris BH <lauris@nix.lv>2018-07-20 05:10:17 +0300
committerLunny Xiao <xiaolunwen@gmail.com>2018-07-20 10:10:17 +0800
commit0c59edaafa94738b8eaec1620f20887cc35d90e2 (patch)
tree344496bf031508008428db4b9537a68953a44320 /models/issue_list.go
parent1e2da5d396141c9c240151d8736862f7d04aa46f (diff)
downloadgitea-0c59edaafa94738b8eaec1620f20887cc35d90e2.tar.gz
gitea-0c59edaafa94738b8eaec1620f20887cc35d90e2.zip
Update xorm to latest version and fix correct `user` table referencing in sql (#4473)
Diffstat (limited to 'models/issue_list.go')
-rw-r--r--models/issue_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_list.go b/models/issue_list.go
index 05130a6eef..fdfca71aff 100644
--- a/models/issue_list.go
+++ b/models/issue_list.go
@@ -166,7 +166,7 @@ func (issues IssueList) loadAssignees(e Engine) error {
var assignees = make(map[int64][]*User, len(issues))
rows, err := e.Table("issue_assignees").
- Join("INNER", "user", "`user`.id = `issue_assignees`.assignee_id").
+ Join("INNER", "`user`", "`user`.id = `issue_assignees`.assignee_id").
In("`issue_assignees`.issue_id", issues.getIssueIDs()).
Rows(new(AssigneeIssue))
if err != nil {