diff options
Diffstat (limited to 'models/issue_comment.go')
-rw-r--r-- | models/issue_comment.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_comment.go b/models/issue_comment.go index 10a7d0b114..b079ea9603 100644 --- a/models/issue_comment.go +++ b/models/issue_comment.go @@ -1007,7 +1007,7 @@ func findComments(e Engine, opts *FindCommentsOptions) ([]*Comment, error) { } if opts.Page != 0 { - sess = opts.setSessionPagination(sess) + sess = setSessionPagination(sess, opts) } // WARNING: If you change this order you will need to fix createCodeComment |