diff options
Diffstat (limited to 'routers/admin/admin.go')
-rw-r--r-- | routers/admin/admin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/admin/admin.go b/routers/admin/admin.go index 2a40792a18..eb4123435a 100644 --- a/routers/admin/admin.go +++ b/routers/admin/admin.go @@ -163,7 +163,7 @@ func Users(ctx *middleware.Context) { if p < 1 { p = 1 } - pageNum := 100 + pageNum := 50 count := models.CountUsers() curCount := int64((p-1)*pageNum + pageNum) if curCount > count { @@ -192,7 +192,7 @@ func Repositories(ctx *middleware.Context) { if p < 1 { p = 1 } - pageNum := 2 + pageNum := 50 count := models.CountRepositories() curCount := int64((p-1)*pageNum + pageNum) if curCount > count { |