Browse Source

#3327 fix wrong table name in Join

for-closed-social
Unknwon 8 years ago
parent
commit
8aa0a76702
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      README.md
  2. +1
    -1
      gogs.go
  3. +1
    -1
      models/issue.go
  4. +1
    -1
      templates/.VERSION

+ 1
- 1
README.md View File

@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
##### Current tip version: 0.9.57 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions)
##### Current tip version: 0.9.58 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions)
| Web | UI | Preview |
|:-------------:|:-------:|:-------:|

+ 1
- 1
gogs.go View File

@ -17,7 +17,7 @@ import (
"github.com/gogits/gogs/modules/setting"
)
const APP_VER = "0.9.57.0726"
const APP_VER = "0.9.58.0726"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())

+ 1
- 1
models/issue.go View File

@ -567,7 +567,7 @@ func Issues(opts *IssuesOptions) ([]*Issue, error) {
if len(opts.Labels) > 0 && opts.Labels != "0" {
labelIDs := base.StringsToInt64s(strings.Split(opts.Labels, ","))
if len(labelIDs) > 0 {
sess.Join("INNER", "issue_label", "issue.id = issue_label.issue_id").In("issue.label_id", labelIDs)
sess.Join("INNER", "issue_label", "issue.id = issue_label.issue_id").In("issue_label.label_id", labelIDs)
}
}

+ 1
- 1
templates/.VERSION View File

@ -1 +1 @@
0.9.57.0726
0.9.58.0726

Loading…
Cancel
Save