summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-26 18:40:20 +0800
committerUnknwon <u@gogs.io>2016-07-26 18:40:20 +0800
commit8aa0a767027222e0b1a4c86ccd587ab9d479ebfa (patch)
tree9a1a54838f61ed4f3236ff9345cab9189f6156dc
parent2d76de2574d2e3734ed8e566845042e6fb281a6e (diff)
downloadgitea-8aa0a767027222e0b1a4c86ccd587ab9d479ebfa.tar.gz
gitea-8aa0a767027222e0b1a4c86ccd587ab9d479ebfa.zip
#3327 fix wrong table name in Join
-rw-r--r--README.md2
-rw-r--r--gogs.go2
-rw-r--r--models/issue.go2
-rw-r--r--templates/.VERSION2
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