Browse Source

Merge pull request 'fix-475' (#607) from fix-473 into V20211101

Reviewed-on: https://git.openi.org.cn/OpenI/aiforge/pulls/607
Reviewed-by: lewis <747342561@qq.com>
tags/v1.21.12.1
lewis 3 years ago
parent
commit
2e533c8aa3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      routers/home.go

+ 1
- 1
routers/home.go View File

@@ -281,10 +281,10 @@ func ExploreDatasets(ctx *context.Context) {
}

pager := context.NewPagination(int(count), opts.PageSize, page, 5)
ctx.Data["Keyword"] = opts.Keyword
pager.SetDefaultParams(ctx)
ctx.Data["Page"] = pager

ctx.Data["Keyword"] = opts.Keyword
ctx.Data["Datasets"] = datasets
ctx.Data["Total"] = count
ctx.Data["PageIsDatasets"] = true


Loading…
Cancel
Save