diff options
author | Unknwon <u@gogs.io> | 2016-03-27 18:21:37 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-27 18:21:37 -0400 |
commit | 762ab056a2ee976037d9fe929c37ab5bdb940e7a (patch) | |
tree | fa2b7aa322fd0b66f0a22b456d0840c17495c0bb | |
parent | 78481f0e4293647d0a208253f146abbd45461d9a (diff) |
Fix XORM IN condition table name parse
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | models/issue.go | 2 | ||||
-rw-r--r-- | routers/user/home.go | 2 | ||||
-rw-r--r-- | templates/.VERSION | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -3,7 +3,7 @@ Gogs - Go Git Service [ -##### Current version: 0.9.17 +##### Current version: 0.9.18 | Web | UI | Preview | |:-------------:|:-------:|:-------:| @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.9.17.0326" +const APP_VER = "0.9.18.0327" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/models/issue.go b/models/issue.go index 8b37a24f..335172ae 100644 --- a/models/issue.go +++ b/models/issue.go @@ -512,7 +512,7 @@ func Issues(opts *IssuesOptions) ([]*Issue, error) { if len(opts.RepoIDs) == 0 { return make([]*Issue, 0), nil } - sess.In("issue.repo_id", base.Int64sToStrings(opts.RepoIDs)).And("issue.is_closed=?", opts.IsClosed) + sess.In("repo_id", base.Int64sToStrings(opts.RepoIDs)).And("issue.is_closed=?", opts.IsClosed) } else { sess.Where("issue.is_closed=?", opts.IsClosed) } diff --git a/routers/user/home.go b/routers/user/home.go index 0c48d6cc..eb6a6f09 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -268,7 +268,7 @@ func Issues(ctx *context.Context) { SortType: sortType, }) if err != nil { - ctx.Handle(500, "Issues: %v", err) + ctx.Handle(500, "Issues", err) return } diff --git a/templates/.VERSION b/templates/.VERSION index c9a2d043..47e7831c 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.17.0326
\ No newline at end of file +0.9.18.0327
\ No newline at end of file |