From 2b1442f3dfa3558f4e1a9dd5b1dbb50cf348e6e0 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 25 Jul 2015 13:18:19 +0800 Subject: [PATCH] fix sql --- models/issue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/issue.go b/models/issue.go index e02659240..f9930aa67 100644 --- a/models/issue.go +++ b/models/issue.go @@ -230,7 +230,7 @@ func GetIssues(uid, assigneeID, repoID, posterID, milestoneID int64, page int, i } if isMention { - queryStr := "issue.id == issue_user.issue_id AND issue_user.is_mentioned=1" + queryStr := "issue.id = issue_user.issue_id AND issue_user.is_mentioned=1" if uid > 0 { queryStr += " AND issue_user.uid = " + com.ToStr(uid) }