1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05: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)
} }