mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-11-03 08:02:36 +09:00 
			
		
		
		
	Fix org repos not showing on dashboard search
This commit is contained in:
		@@ -32,6 +32,7 @@ func Search(ctx *context.APIContext) {
 | 
				
			|||||||
		Keyword:  strings.Trim(ctx.Query("q"), " "),
 | 
							Keyword:  strings.Trim(ctx.Query("q"), " "),
 | 
				
			||||||
		OwnerID:  ctx.QueryInt64("uid"),
 | 
							OwnerID:  ctx.QueryInt64("uid"),
 | 
				
			||||||
		PageSize: convert.ToCorrectPageSize(ctx.QueryInt("limit")),
 | 
							PageSize: convert.ToCorrectPageSize(ctx.QueryInt("limit")),
 | 
				
			||||||
 | 
							Searcher: ctx.User,
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	// Check visibility.
 | 
						// Check visibility.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user