summaryrefslogtreecommitdiffstats
path: root/modules/context/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context/repo.go')
-rw-r--r--modules/context/repo.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go
index 519c3afc07..6446b859ad 100644
--- a/modules/context/repo.go
+++ b/modules/context/repo.go
@@ -357,6 +357,7 @@ func RepoAssignment() macaron.Handler {
count, err := models.GetReleaseCountByRepoID(ctx.Repo.Repository.ID, models.FindReleasesOptions{
IncludeDrafts: false,
+ IncludeTags: true,
})
if err != nil {
ctx.Handle(500, "GetReleaseCountByRepoID", err)