summaryrefslogtreecommitdiffstats
path: root/models/issue_reaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_reaction.go')
-rw-r--r--models/issue_reaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_reaction.go b/models/issue_reaction.go
index 80fae1ca5f..5721d8cc1f 100644
--- a/models/issue_reaction.go
+++ b/models/issue_reaction.go
@@ -87,7 +87,7 @@ func findReactions(e Engine, opts FindReactionsOptions) ([]*Reaction, error) {
In("reaction.`type`", setting.UI.Reactions).
Asc("reaction.issue_id", "reaction.comment_id", "reaction.created_unix", "reaction.id")
if opts.Page != 0 {
- e = opts.setEnginePagination(e)
+ e = setEnginePagination(e, &opts)
reactions := make([]*Reaction, 0, opts.PageSize)
return reactions, e.Find(&reactions)