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

This commit is contained in:
Lauris BH authored and Lunny Xiao committed 2017-08-30 09:31:32 +08:00
1 parent 1cbe502cc2
commit 0c910afe11
3 files changed
+11 -3

No files matched your search

+1 -1
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"`