Ignore repository with issue disabled or use external tracker in dashboard issues
This commit is contained in:
parent
50422f1fc2
commit
cf6d321991
5 changed files with 12 additions and 10 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue