diff options
author | Unknwon <u@gogs.io> | 2016-07-24 00:23:54 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-07-24 00:23:54 +0800 |
commit | 46e96c008cf966428c9dad71c7871de88186e3fe (patch) | |
tree | 57e276d8f971c74a6dac841352ec2bee96e93d8f /routers/admin/orgs.go | |
parent | 256cd6374adf646a46265efe18a2d3f822bf7269 (diff) | |
download | gitea-46e96c008cf966428c9dad71c7871de88186e3fe.tar.gz gitea-46e96c008cf966428c9dad71c7871de88186e3fe.zip |
Use struct for UI settings
Diffstat (limited to 'routers/admin/orgs.go')
-rw-r--r-- | routers/admin/orgs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/admin/orgs.go b/routers/admin/orgs.go index 28e9d79f06..3200072107 100644 --- a/routers/admin/orgs.go +++ b/routers/admin/orgs.go @@ -25,7 +25,7 @@ func Organizations(ctx *context.Context) { Type: models.USER_TYPE_ORGANIZATION, Counter: models.CountOrganizations, Ranger: models.Organizations, - PageSize: setting.AdminOrgPagingNum, + PageSize: setting.UI.Admin.OrgPagingNum, OrderBy: "id ASC", TplName: ORGS, }) |