mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-26 15:52:57 +08:00
Merge pull request #975 from nicolai86/bugfix/label-num_issues
Bugfix for wrong label count
This commit is contained in:
commit
bbee7b7196
@ -561,7 +561,7 @@ func GetLabels(repoId int64) ([]*Label, error) {
|
||||
|
||||
// UpdateLabel updates label information.
|
||||
func UpdateLabel(l *Label) error {
|
||||
_, err := x.Id(l.Id).Update(l)
|
||||
_, err := x.Id(l.Id).AllCols().Update(l)
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user