mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 00:20:25 +08:00 
			
		
		
		
	update user api search results to include the full name
Is fully backwards compatible Fixes #677
This commit is contained in:
		@@ -37,6 +37,7 @@ func SearchUsers(ctx *middleware.Context) {
 | 
			
		||||
		results[i] = &api.User{
 | 
			
		||||
			UserName:  us[i].Name,
 | 
			
		||||
			AvatarUrl: us[i].AvatarLink(),
 | 
			
		||||
			FullName:  us[i].FullName,
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user