diff options
author | Rodrigo Villablanca Vásquez <villa061004@gmail.com> | 2018-10-28 03:55:01 -0300 |
---|---|---|
committer | Jonas Franz <info@jonasfranz.software> | 2018-10-28 07:55:01 +0100 |
commit | 48badd59e9401df50f36dbd19a4a8167265d618d (patch) | |
tree | db95ca1814fa2fa175f76d864b32750c836f9ba5 /routers | |
parent | 8a9e44d181263b04a42e4e0d7d879ef5e001022c (diff) | |
download | gitea-48badd59e9401df50f36dbd19a4a8167265d618d.tar.gz gitea-48badd59e9401df50f36dbd19a4a8167265d618d.zip |
Fix to 3819 - Filtering issues by tags on main screen issues (#3824)
* Fix to 3819
* Changes suggested
* Empty line removed
* Fix error: non-name opts.Labels on left side of :=
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/home.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index a0e2922898..49c6579556 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -255,6 +255,8 @@ func Issues(ctx *context.Context) { opts.Page = page opts.PageSize = setting.UI.IssuePagingNum + opts.Labels = ctx.Query("labels") + issues, err := models.Issues(opts) if err != nil { ctx.ServerError("Issues", err) |