aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--gogs.go2
-rw-r--r--models/issue.go2
-rw-r--r--routers/user/home.go2
-rw-r--r--templates/.VERSION2
5 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 52d0b3cced..68b7592cff 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 version: 0.9.17
+##### Current version: 0.9.18
| Web | UI | Preview |
|:-------------:|:-------:|:-------:|
diff --git a/gogs.go b/gogs.go
index d49af55d61..99619bb904 100644
--- a/gogs.go
+++ b/gogs.go
@@ -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 8b37a24f11..335172aeb9 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 0c48d6cc2c..eb6a6f099b 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 c9a2d04380..47e7831c43 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