summaryrefslogtreecommitdiffstats
path: root/routers/home.go
diff options
context:
space:
mode:
authorMorlinest <morlinest@gmail.com>2017-10-17 17:20:22 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-10-17 23:20:22 +0800
commitccd3577970b64078eb156a736b1583833f80b4a3 (patch)
tree4abdd588adfc3f24992953ba2ad6fe0dcf614a6e /routers/home.go
parentaf4a094e5d1be13c0fe863c1cd6e56c62b1a9b79 (diff)
downloadgitea-ccd3577970b64078eb156a736b1583833f80b4a3.tar.gz
gitea-ccd3577970b64078eb156a736b1583833f80b4a3.zip
Fix repository search function (#2689)
* Fix and remove FIXME * Respect membership visibility * Fix/rewrite searchRepositoryByName function * Add unit tests * Add integration tests * Remove Searcher completely * Remove trailing space
Diffstat (limited to 'routers/home.go')
-rw-r--r--routers/home.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/home.go b/routers/home.go
index afcb3d35e5..cf957c1215 100644
--- a/routers/home.go
+++ b/routers/home.go
@@ -120,7 +120,6 @@ func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) {
Private: opts.Private,
Keyword: keyword,
OwnerID: opts.OwnerID,
- Searcher: ctx.User,
Collaborate: true,
AllPublic: true,
})