mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
		@@ -538,13 +538,17 @@ func Issues(ctx *context.Context) {
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	issueStats, err := models.GetUserIssueStats(models.UserIssueStatsOptions{
 | 
			
		||||
	issueStatsOpts := models.UserIssueStatsOptions{
 | 
			
		||||
		UserID:      ctxUser.ID,
 | 
			
		||||
		UserRepoIDs: userRepoIDs,
 | 
			
		||||
		FilterMode:  filterMode,
 | 
			
		||||
		IsPull:      isPullList,
 | 
			
		||||
		IsClosed:    isShowClosed,
 | 
			
		||||
	})
 | 
			
		||||
	}
 | 
			
		||||
	if len(repoIDs) > 0 {
 | 
			
		||||
		issueStatsOpts.UserRepoIDs = repoIDs
 | 
			
		||||
	}
 | 
			
		||||
	issueStats, err := models.GetUserIssueStats(issueStatsOpts)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		ctx.ServerError("GetUserIssueStats", err)
 | 
			
		||||
		return
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user