diff options
author | Unknown <joe2010xtmf@163.com> | 2014-07-12 00:55:19 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-07-12 00:55:19 -0400 |
commit | 0f907301b7fbd05faf07bc22b3316ae1093c6724 (patch) | |
tree | 806e40ea6ef651e28563d09526377ed736528c10 /routers/admin/admin.go | |
parent | 63cc14062a891a99a429f2eef0ee90a3f5795f47 (diff) | |
download | gitea-0f907301b7fbd05faf07bc22b3316ae1093c6724.tar.gz gitea-0f907301b7fbd05faf07bc22b3316ae1093c6724.zip |
Fix #285
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 { |