Quellcode durchsuchen

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>
tags/v1.13.0-rc1
Cirno the Strongest vor 3 Jahren
Ursprung
Commit
2281b048af
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  1. 0
    3
      routers/api/v1/repo/issue.go

+ 0
- 3
routers/api/v1/repo/issue.go Datei anzeigen

@@ -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") {

Laden…
Abbrechen
Speichern