summaryrefslogtreecommitdiffstats
path: root/modules/convert/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/convert/repository.go')
-rw-r--r--modules/convert/repository.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/convert/repository.go b/modules/convert/repository.go
index 9a4fbb97ca..7f3d67137f 100644
--- a/modules/convert/repository.go
+++ b/modules/convert/repository.go
@@ -91,7 +91,7 @@ func innerToRepo(repo *models.Repository, mode models.AccessMode, isParent bool)
return nil
}
- numReleases, _ := models.GetReleaseCountByRepoID(repo.ID, models.FindReleasesOptions{IncludeDrafts: false, IncludeTags: true})
+ numReleases, _ := models.GetReleaseCountByRepoID(repo.ID, models.FindReleasesOptions{IncludeDrafts: false, IncludeTags: false})
mirrorInterval := ""
if repo.IsMirror {