mirror of
https://github.com/go-gitea/gitea
synced 2025-07-12 13:37:20 +00:00
Ignore repository with issue disabled or use external tracker in dashboard issues
This commit is contained in:
@ -220,7 +220,8 @@ func Issues(ctx *context.Context) {
|
||||
showRepos := make([]*models.Repository, 0, len(repos))
|
||||
for _, repo := range repos {
|
||||
if (isPullList && repo.NumPulls == 0) ||
|
||||
(!isPullList && repo.NumIssues == 0) {
|
||||
(!isPullList &&
|
||||
(!repo.EnableIssues || repo.EnableExternalTracker || repo.NumIssues == 0)) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user