Fix releases to be counted from database not tags (#2389)
This commit is contained in:
parent
d23b36c598
commit
edb95faba2
3 changed files with 11 additions and 3 deletions
|
@ -194,7 +194,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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue