mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-10 14:48:14 +08:00
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
This commit is contained in:
@ -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,
|
||||
})
|
||||
|
Reference in New Issue
Block a user