forked from forgejo/forgejo
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:
parent
af4a094e5d
commit
ccd3577970
10 changed files with 145 additions and 93 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue