mirror of
https://github.com/go-gitea/gitea
synced 2025-07-03 09:07:19 +00: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