diff options
author | Zsombor <gzsombor@users.noreply.github.com> | 2019-02-19 02:16:06 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2019-02-19 09:16:06 +0800 |
commit | 538a26d56f2a18efeba35d786ba7cf3c11d7521a (patch) | |
tree | 9bfed473ce1f82aa8b18d1e94d33e95c6addca5f /routers | |
parent | b79820f610d49acaa21800cb27d61df3215e25a7 (diff) | |
download | gitea-538a26d56f2a18efeba35d786ba7cf3c11d7521a.tar.gz gitea-538a26d56f2a18efeba35d786ba7cf3c11d7521a.zip |
Show private organization for admin, fix #6111 (#6112)
Diffstat (limited to 'routers')
-rw-r--r-- | routers/admin/orgs.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/admin/orgs.go b/routers/admin/orgs.go index c556d3fcf5..e0be99872e 100644 --- a/routers/admin/orgs.go +++ b/routers/admin/orgs.go @@ -25,5 +25,6 @@ func Organizations(ctx *context.Context) { routers.RenderUserSearch(ctx, &models.SearchUserOptions{ Type: models.UserTypeOrganization, PageSize: setting.UI.Admin.OrgPagingNum, + Private: true, }, tplOrgs) } |