summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorZsombor <gzsombor@users.noreply.github.com>2019-02-19 02:16:06 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2019-02-19 09:16:06 +0800
commit538a26d56f2a18efeba35d786ba7cf3c11d7521a (patch)
tree9bfed473ce1f82aa8b18d1e94d33e95c6addca5f /routers
parentb79820f610d49acaa21800cb27d61df3215e25a7 (diff)
downloadgitea-538a26d56f2a18efeba35d786ba7cf3c11d7521a.tar.gz
gitea-538a26d56f2a18efeba35d786ba7cf3c11d7521a.zip
Show private organization for admin, fix #6111 (#6112)
Diffstat (limited to 'routers')
-rw-r--r--routers/admin/orgs.go1
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)
}