summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@sapk.fr>2015-09-26 00:38:43 +0200
committerAntoine GIRARD <sapk@sapk.fr>2015-09-26 00:38:43 +0200
commitdfc16d08790f446e321df24c01ae2800507e2a22 (patch)
treef2ec2890df485a3513ae8956a29eeb96fc66fd4c /modules/setting
parent1c35380c2c476e8eb5022078262e8cadade4d4c7 (diff)
downloadgitea-dfc16d08790f446e321df24c01ae2800507e2a22.tar.gz
gitea-dfc16d08790f446e321df24c01ae2800507e2a22.zip
Fix admin repos new ui
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 1d6bf4d62b..23f54fadda 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -94,6 +94,7 @@ var (
ExplorePagingNum int
IssuePagingNum int
AdminUserPagingNum int
+ AdminRepoPagingNum int
AdminNoticePagingNum int
// Markdown sttings.
@@ -371,6 +372,7 @@ func NewContext() {
sec = Cfg.Section("ui.admin")
AdminUserPagingNum = sec.Key("USER_PAGING_NUM").MustInt(50)
+ AdminRepoPagingNum = sec.Key("REPO_PAGING_NUM").MustInt(50)
AdminNoticePagingNum = sec.Key("NOTICE_PAGING_NUM").MustInt(50)
sec = Cfg.Section("picture")