1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-01 17:38:33 +00:00

Fix admin user list pagination (#18957)

This commit is contained in:
Otto Richter (fnetX) 2022-03-01 20:21:37 +01:00 committed by GitHub
parent 062fd4c217
commit aee0fa68a7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -82,6 +82,7 @@ func RenderUserSearch(ctx *context.Context, opts *user_model.SearchUserOptions,
pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5)
pager.SetDefaultParams(ctx)
pager.SetUserFilterParams(ctx)
ctx.Data["Page"] = pager
ctx.HTML(http.StatusOK, tplName)