Browse Source

Merge pull request #975 from nicolai86/bugfix/label-num_issues

Bugfix for wrong label count
tags/v1.2.0-rc1
无闻 10 years ago
parent
commit
1d533bde7a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/issue.go

+ 1
- 1
models/issue.go View File

@@ -561,7 +561,7 @@ func GetLabels(repoId int64) ([]*Label, error) {


// UpdateLabel updates label information. // UpdateLabel updates label information.
func UpdateLabel(l *Label) error { func UpdateLabel(l *Label) error {
_, err := x.Id(l.Id).Update(l)
_, err := x.Id(l.Id).AllCols().Update(l)
return err return err
} }




Loading…
Cancel
Save