Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 12:46:09 +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)
} }