Browse Source

#2573

fix bug
pull/2578/head
chenyifan01 2 years ago
parent
commit
6e92847107
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      routers/user/profile.go

+ 3
- 3
routers/user/profile.go View File

@@ -116,8 +116,8 @@ func Profile(ctx *context.Context) {
} }


var opts = models.FindOrgMembersOpts{ var opts = models.FindOrgMembersOpts{
OrgID: org.ID,
PublicOnly: true,
OrgID: org.ID,
PublicOnly: true,
} }


if ctx.User != nil { if ctx.User != nil {
@@ -261,7 +261,7 @@ func Profile(ctx *context.Context) {
IsOwner: isOwner, IsOwner: isOwner,
ListOptions: models.ListOptions{ ListOptions: models.ListOptions{
Page: page, Page: page,
PageSize: setting.UI.ExplorePagingNum,
PageSize: setting.UI.User.RepoPagingNum,
}, },
CloudBrainType: -1, CloudBrainType: -1,
} }


Loading…
Cancel
Save