summaryrefslogtreecommitdiffstats
path: root/routers/admin/users.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/admin/users.go')
-rw-r--r--routers/admin/users.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/routers/admin/users.go b/routers/admin/users.go
index d480029143..c22accc202 100644
--- a/routers/admin/users.go
+++ b/routers/admin/users.go
@@ -30,13 +30,10 @@ func Users(ctx *context.Context) {
ctx.Data["PageIsAdmin"] = true
ctx.Data["PageIsAdminUsers"] = true
- routers.RenderUserSearch(ctx, &routers.UserSearchOptions{
+ routers.RenderUserSearch(ctx, &models.SearchUserOptions{
Type: models.UserTypeIndividual,
- Counter: models.CountUsers,
- Ranger: models.Users,
PageSize: setting.UI.Admin.UserPagingNum,
- TplName: tplUsers,
- })
+ }, tplUsers)
}
// NewUser render adding a new user page