diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/org/members.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/org/members.go b/routers/org/members.go index 053bd21f5e..9f13d1be3f 100644 --- a/routers/org/members.go +++ b/routers/org/members.go @@ -52,7 +52,7 @@ func Members(ctx *context.Context) { } pager := context.NewPagination(int(total), setting.UI.MembersPagingNum, page, 5) - opts.ListOptions.Page = (page - 1) * setting.UI.MembersPagingNum + opts.ListOptions.Page = page opts.ListOptions.PageSize = setting.UI.MembersPagingNum members, membersIsPublic, err := models.FindOrgMembers(&opts) if err != nil { |