Browse Source

Do not override API issue pagination with UI settings (#12068)

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
for-closed-social
Cirno the Strongest 4 years ago
committed by GitHub
parent
commit
2281b048af
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      routers/api/v1/repo/issue.go

+ 0
- 3
routers/api/v1/repo/issue.go View File

@ -290,9 +290,6 @@ func ListIssues(ctx *context.APIContext) {
}
listOptions := utils.GetListOptions(ctx)
if ctx.QueryInt("limit") == 0 {
listOptions.PageSize = setting.UI.IssuePagingNum
}
var isPull util.OptionalBool
switch ctx.Query("type") {

Loading…
Cancel
Save