mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	[BugFix] Hide public repos owned by private orgs (#9609)
* Restrict AllPublic to actually public repos. * Add new parameter to add in AllLimited Repos
This commit is contained in:
		| @@ -142,6 +142,7 @@ func RenderRepoSearch(ctx *context.Context, opts *RepoSearchOptions) { | ||||
| 		Keyword:            keyword, | ||||
| 		OwnerID:            opts.OwnerID, | ||||
| 		AllPublic:          true, | ||||
| 		AllLimited:         true, | ||||
| 		TopicOnly:          topicOnly, | ||||
| 		IncludeDescription: setting.UI.SearchRepoDescription, | ||||
| 	}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user