mirror of
https://github.com/go-gitea/gitea
synced 2024-11-15 22:54:24 +00:00
fix sql
This commit is contained in:
parent
2e7b38db9f
commit
2b1442f3df
@ -230,7 +230,7 @@ func GetIssues(uid, assigneeID, repoID, posterID, milestoneID int64, page int, i
|
|||||||
}
|
}
|
||||||
|
|
||||||
if isMention {
|
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 {
|
if uid > 0 {
|
||||||
queryStr += " AND issue_user.uid = " + com.ToStr(uid)
|
queryStr += " AND issue_user.uid = " + com.ToStr(uid)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user