aboutsummaryrefslogtreecommitdiffstats
path: root/modules/setting/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r--modules/setting/setting.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 05f4556a48..009e14a4ae 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -91,7 +91,8 @@ var (
AnsiCharset string
// UI settings.
- IssuePagingNum int
+ ExplorePagingNum int
+ IssuePagingNum int
// Picture settings.
PictureService string
@@ -352,6 +353,7 @@ func NewConfigContext() {
AnsiCharset = sec.Key("ANSI_CHARSET").MustString("")
// UI settings.
+ ExplorePagingNum = Cfg.Section("ui").Key("EXPLORE_PAGING_NUM").MustInt(20)
IssuePagingNum = Cfg.Section("ui").Key("ISSUE_PAGING_NUM").MustInt(10)
sec = Cfg.Section("picture")