1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-12 04:28:21 +00:00

Fix releases to be counted from database not tags (#2389) (#2424)

This commit is contained in:
Lauris BH
2017-08-30 04:31:32 +03:00
committed by Lunny Xiao
parent 1cbe502cc2
commit 0c910afe11
3 changed files with 11 additions and 3 deletions

View File

@@ -193,7 +193,7 @@ type Repository struct {
NumMilestones int `xorm:"NOT NULL DEFAULT 0"`
NumClosedMilestones int `xorm:"NOT NULL DEFAULT 0"`
NumOpenMilestones int `xorm:"-"`
NumTags int `xorm:"-"`
NumReleases int `xorm:"-"`
IsPrivate bool `xorm:"INDEX"`
IsBare bool `xorm:"INDEX"`