From 1ad707670f5de54eadd9197ff614221b1f555dc2 Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Thu, 10 Mar 2022 10:10:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/repo/dataset.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routers/repo/dataset.go b/routers/repo/dataset.go index e73a942f8..9c3efb3a4 100755 --- a/routers/repo/dataset.go +++ b/routers/repo/dataset.go @@ -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)