aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/explore/user.go
diff options
context:
space:
mode:
authorOtto Richter (fnetX) <git@fralix.ovh>2022-03-01 20:21:37 +0100
committerGitHub <noreply@github.com>2022-03-01 20:21:37 +0100
commitaee0fa68a71f03b65460597af3f37a3f4c4a04dc (patch)
treefc4096620d7ace4e8466cae4efb44e2e8eac2146 /routers/web/explore/user.go
parent062fd4c217cc7302f56acf043d6214a9db46ee2f (diff)
downloadgitea-aee0fa68a71f03b65460597af3f37a3f4c4a04dc.tar.gz
gitea-aee0fa68a71f03b65460597af3f37a3f4c4a04dc.zip
Fix admin user list pagination (#18957)
Diffstat (limited to 'routers/web/explore/user.go')
-rw-r--r--routers/web/explore/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/explore/user.go b/routers/web/explore/user.go
index b264bf1b4a..c3aa89e8e6 100644
--- a/routers/web/explore/user.go
+++ b/routers/web/explore/user.go
@@ -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)