diff options
author | Norwin <noerw@users.noreply.github.com> | 2022-08-06 12:43:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-06 18:43:40 +0800 |
commit | 279e4e235cd28b570e2947cc8c397280e9250440 (patch) | |
tree | cb3295726a2b4c34d24b95f93b30756020c5395d /modules | |
parent | 61aafb9c7d367e4cc369c4d79eb58f278edb0ce8 (diff) | |
download | gitea-279e4e235cd28b570e2947cc8c397280e9250440.tar.gz gitea-279e4e235cd28b570e2947cc8c397280e9250440.zip |
Increase default item listing size `ISSUE_PAGING_NUM` to 20 (#20547)
* increase default page sizes to 20
* adjust docs to reflect that the setting is used all over the place
* fix tests
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'modules')
-rw-r--r-- | modules/setting/setting.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 23e3280dc9..465dc75cad 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -262,8 +262,8 @@ var ( }{ ExplorePagingNum: 20, SitemapPagingNum: 20, - IssuePagingNum: 10, - RepoSearchPagingNum: 10, + IssuePagingNum: 20, + RepoSearchPagingNum: 20, MembersPagingNum: 20, FeedMaxCommitNum: 5, FeedPagingNum: 20, |