Browse Source

Merge pull request '修复个人信息-数据集页码不准的问题' (#2578) from fix-2573 into V20220801

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/2578
Reviewed-by: lewis <747342561@qq.com>
pull/2585/head
lewis 2 years ago
parent
commit
5c6835a2a2
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{
OrgID: org.ID,
PublicOnly: true,
OrgID: org.ID,
PublicOnly: true,
}

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


Loading…
Cancel
Save