summaryrefslogtreecommitdiffstats
path: root/routers/admin/orgs.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/admin/orgs.go')
-rw-r--r--routers/admin/orgs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/orgs.go b/routers/admin/orgs.go
index efda1e5165..4d56797c73 100644
--- a/routers/admin/orgs.go
+++ b/routers/admin/orgs.go
@@ -22,7 +22,7 @@ func Organizations(ctx *context.Context) {
ctx.Data["PageIsAdminOrganizations"] = true
routers.RenderUserSearch(ctx, &routers.UserSearchOptions{
- Type: models.USER_TYPE_ORGANIZATION,
+ Type: models.UserTypeOrganization,
Counter: models.CountOrganizations,
Ranger: models.Organizations,
PageSize: setting.UI.Admin.OrgPagingNum,