diff options
author | Unknwon <u@gogs.io> | 2016-07-26 18:40:20 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-07-26 18:40:20 +0800 |
commit | 8aa0a767027222e0b1a4c86ccd587ab9d479ebfa (patch) | |
tree | 9a1a54838f61ed4f3236ff9345cab9189f6156dc | |
parent | 2d76de2574d2e3734ed8e566845042e6fb281a6e (diff) | |
download | gitea-8aa0a767027222e0b1a4c86ccd587ab9d479ebfa.tar.gz gitea-8aa0a767027222e0b1a4c86ccd587ab9d479ebfa.zip |
#3327 fix wrong table name in Join
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | models/issue.go | 2 | ||||
-rw-r--r-- | templates/.VERSION | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -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 | |:-------------:|:-------:|:-------:| @@ -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()) diff --git a/models/issue.go b/models/issue.go index 3fd97fbe7d..9d0f58186e 100644 --- a/models/issue.go +++ b/models/issue.go @@ -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) } } diff --git a/templates/.VERSION b/templates/.VERSION index 03ddfb19c9..ec98469da0 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.57.0726
\ No newline at end of file +0.9.58.0726
\ No newline at end of file |