From 8aa0a767027222e0b1a4c86ccd587ab9d479ebfa Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 26 Jul 2016 18:40:20 +0800 Subject: #3327 fix wrong table name in Join --- README.md | 2 +- gogs.go | 2 +- models/issue.go | 2 +- templates/.VERSION | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6b77c18d9f..d19d22ea9c 100644 --- a/README.md +++ b/README.md @@ -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 | |:-------------:|:-------:|:-------:| diff --git a/gogs.go b/gogs.go index 534e6cd3fa..2c8fb28644 100644 --- a/gogs.go +++ b/gogs.go @@ -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 -- cgit v1.2.3