Browse Source

提交代码

tags/v1.22.3.2^2
ychao_1983 3 years ago
parent
commit
1ad707670f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/repo/dataset.go

+ 1
- 1
routers/repo/dataset.go View File

@@ -138,7 +138,7 @@ func DatasetIndex(ctx *context.Context) {
}
pagesize := ctx.QueryInt("pagesize")
if pagesize <= 0 {
pagesize = setting.UI.ExplorePagingNum
pagesize = 10
}
pager := context.NewPagination(len(attachments), pagesize, page, 5)



Loading…
Cancel
Save