Skip to content

Commit

Permalink
use `
Browse files Browse the repository at this point in the history
Co-Authored-By: Alexey 〒erentyev <[email protected]>
  • Loading branch information
6543 and axifive authored Dec 18, 2019
1 parent e02cbe8 commit d670a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/issue_reaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func findReactions(e Engine, opts FindReactionsOptions) ([]*Reaction, error) {
reactions := make([]*Reaction, 0, 10)
sess := e.Where(opts.toConds())
return reactions, sess.
In("reaction.type", setting.UI.Reactions).
In("reaction.`type`", setting.UI.Reactions).
Asc("reaction.issue_id", "reaction.comment_id", "reaction.created_unix", "reaction.id").
Find(&reactions)
}
Expand Down

0 comments on commit d670a3c

Please sign in to comment.