mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-05-16 20:00:03 +02: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:
parent
f5b0e2c9d2
commit
d985d4bc2f
5 changed files with 21 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue