0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-17 15:31:06 +01:00

Show private organization for admin, fix #6111 (#6112)

This commit is contained in:
Zsombor 2019-02-19 02:16:06 +01:00 committed by Lunny Xiao
parent b79820f610
commit 538a26d56f

View file

@ -25,5 +25,6 @@ func Organizations(ctx *context.Context) {
routers.RenderUserSearch(ctx, &models.SearchUserOptions{ routers.RenderUserSearch(ctx, &models.SearchUserOptions{
Type: models.UserTypeOrganization, Type: models.UserTypeOrganization,
PageSize: setting.UI.Admin.OrgPagingNum, PageSize: setting.UI.Admin.OrgPagingNum,
Private: true,
}, tplOrgs) }, tplOrgs)
} }