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