diff options
Diffstat (limited to 'models/notification.go')
-rw-r--r-- | models/notification.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/notification.go b/models/notification.go index 30bb7596a8..5a35c4d732 100644 --- a/models/notification.go +++ b/models/notification.go @@ -110,7 +110,7 @@ func (opts *FindNotificationOptions) ToCond() builder.Cond { func (opts *FindNotificationOptions) ToSession(e Engine) *xorm.Session { sess := e.Where(opts.ToCond()) if opts.Page != 0 { - sess = opts.setSessionPagination(sess) + sess = setSessionPagination(sess, opts) } return sess } |