Skip to content

Commit 4a47f4a

Browse files
committed
increase default page sizes to 20
1 parent eaf653f commit 4a47f4a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

custom/conf/app.example.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ ROUTER = console
10781078
;EXPLORE_PAGING_NUM = 20
10791079
;;
10801080
;; Number of issues that are displayed on one page
1081-
;ISSUE_PAGING_NUM = 10
1081+
;ISSUE_PAGING_NUM = 20
10821082
;;
10831083
;; Number of maximum commits displayed in one activity feed
10841084
;FEED_MAX_COMMIT_NUM = 5

docs/content/doc/advanced/config-cheat-sheet.en-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ The following configuration set `Content-Type: application/vnd.android.package-a
171171
## UI (`ui`)
172172

173173
- `EXPLORE_PAGING_NUM`: **20**: Number of repositories that are shown in one explore page.
174-
- `ISSUE_PAGING_NUM`: **10**: Number of issues that are shown in one page (for all pages that list issues).
174+
- `ISSUE_PAGING_NUM`: **20**: Number of issues that are shown in one page (for all pages that list issues).
175175
- `MEMBERS_PAGING_NUM`: **20**: Number of members that are shown in organization members.
176176
- `FEED_MAX_COMMIT_NUM`: **5**: Number of maximum commits shown in one activity feed.
177177
- `FEED_PAGING_NUM`: **20**: Number of items that are displayed in home feed.

modules/setting/setting.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,8 @@ var (
262262
}{
263263
ExplorePagingNum: 20,
264264
SitemapPagingNum: 20,
265-
IssuePagingNum: 10,
266-
RepoSearchPagingNum: 10,
265+
IssuePagingNum: 20,
266+
RepoSearchPagingNum: 20,
267267
MembersPagingNum: 20,
268268
FeedMaxCommitNum: 5,
269269
FeedPagingNum: 20,

0 commit comments

Comments
 (0)