mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	@@ -98,7 +98,14 @@ func releasesOrTags(ctx *context.Context, isTagList bool) {
 | 
			
		||||
		listOptions.PageSize = setting.API.MaxResponseItems
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tags, err := ctx.Repo.GitRepo.GetTags(listOptions.GetStartEnd())
 | 
			
		||||
	// TODO(20073) tags are used for compare feature witch needs all tags
 | 
			
		||||
	// filtering is doen at the client side atm
 | 
			
		||||
	tagListStart, tagListEnd := 0, 0
 | 
			
		||||
	if isTagList {
 | 
			
		||||
		tagListStart, tagListEnd = listOptions.GetStartEnd()
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	tags, err := ctx.Repo.GitRepo.GetTags(tagListStart, tagListEnd)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		ctx.ServerError("GetTags", err)
 | 
			
		||||
		return
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user