1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-04 00:28:36 +00:00

[BugFix] Hide public repos owned by private orgs (#9616)

This commit is contained in:
6543
2020-01-06 03:12:55 +01:00
committed by Lunny Xiao
parent 2ccd92407a
commit a15a644c05
3 changed files with 10 additions and 4 deletions

View File

@@ -141,6 +141,7 @@ func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) {
Keyword: keyword,
OwnerID: opts.OwnerID,
AllPublic: true,
AllLimited: true,
TopicOnly: topicOnly,
IncludeDescription: setting.UI.SearchRepoDescription,
})