mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-19 03:08:30 +08:00
Paginate releases page & set default page size to 10 (#16857)
* Add release default page and set it to 10 * use limit Co-authored-by: 6543 <6543@obermui.de>
This commit is contained in:
@ -87,7 +87,8 @@ var (
|
||||
} `ini:"repository.issue"`
|
||||
|
||||
Release struct {
|
||||
AllowedTypes string
|
||||
AllowedTypes string
|
||||
DefaultPagingNum int
|
||||
} `ini:"repository.release"`
|
||||
|
||||
Signing struct {
|
||||
@ -223,9 +224,11 @@ var (
|
||||
},
|
||||
|
||||
Release: struct {
|
||||
AllowedTypes string
|
||||
AllowedTypes string
|
||||
DefaultPagingNum int
|
||||
}{
|
||||
AllowedTypes: "",
|
||||
AllowedTypes: "",
|
||||
DefaultPagingNum: 10,
|
||||
},
|
||||
|
||||
// Signing settings
|
||||
|
Reference in New Issue
Block a user