]> source.dussan.org Git - gitea.git/commit
Remove deprecated query condition in ListReleases (#28339)
authorNanguan Lin <70063547+lng2020@users.noreply.github.com>
Tue, 5 Dec 2023 07:30:43 +0000 (15:30 +0800)
committerGitHub <noreply@github.com>
Tue, 5 Dec 2023 07:30:43 +0000 (07:30 +0000)
commit0aab2d38a7d91bc8caff332e452364468ce52d9a
tree3181ae25146fb61b2e08f946650b9f858a4a0e0c
parent38a93a0665456d0cfc9569946a1f6164835b6aea
Remove deprecated query condition in ListReleases (#28339)

close #24057
call stack:

https://github.com/go-gitea/gitea/blob/25faee3c5f5be23c99b3b7e50418fc0dbad7a41b/routers/api/v1/repo/release.go#L154

https://github.com/go-gitea/gitea/blob/ec1feedbf582b05b6a5e8c59fb2457f25d053ba2/routers/api/v1/utils/page.go#L13-L18

https://github.com/go-gitea/gitea/blob/ec1feedbf582b05b6a5e8c59fb2457f25d053ba2/services/convert/utils.go#L15-L22

## :warning: Breaking   :warning: (though it's not caused by this PR)
Do not use `per_page` to specify pagination; use `limit` instead
routers/api/v1/repo/release.go
templates/swagger/v1_json.tmpl