mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Display all user types and org types on admin management UI (#27050)
Follow #24026 <img width="1049" alt="图片" src="https://github.com/go-gitea/gitea/assets/81045/d3fc5159-b5e7-411a-b6f8-4a111a027e6b"> --------- Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
		| @@ -28,8 +28,9 @@ func Organizations(ctx *context.Context) { | ||||
| 	} | ||||
|  | ||||
| 	explore.RenderUserSearch(ctx, &user_model.SearchUserOptions{ | ||||
| 		Actor: ctx.Doer, | ||||
| 		Type:  user_model.UserTypeOrganization, | ||||
| 		Actor:           ctx.Doer, | ||||
| 		Type:            user_model.UserTypeOrganization, | ||||
| 		IncludeReserved: true, // administrator needs to list all acounts include reserved | ||||
| 		ListOptions: db.ListOptions{ | ||||
| 			PageSize: setting.UI.Admin.OrgPagingNum, | ||||
| 		}, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user