We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e733ee commit f6db650Copy full SHA for f6db650
routers/web/repo/release.go
@@ -98,7 +98,14 @@ func releasesOrTags(ctx *context.Context, isTagList bool) {
98
listOptions.PageSize = setting.API.MaxResponseItems
99
}
100
101
- tags, err := ctx.Repo.GitRepo.GetTags(listOptions.GetStartEnd())
+ // TODO(20073) tags are used for compare feature witch needs all tags
102
+ // filtering is doen at the client side atm
103
+ tagListStart, tagListEnd := 0, 0
104
+ if isTagList {
105
+ tagListStart, tagListEnd = listOptions.GetStartEnd()
106
+ }
107
+
108
+ tags, err := ctx.Repo.GitRepo.GetTags(tagListStart, tagListEnd)
109
if err != nil {
110
ctx.ServerError("GetTags", err)
111
return
0 commit comments