#3883 数据集广场默认全查

Merged
chenyifan01 merged 1 commits from fix-3718 into V20230322 1 year ago
  1. +2
    -2
      routers/home.go

+ 2
- 2
routers/home.go View File

@@ -412,7 +412,7 @@ func ExploreMyDatasets(ctx *context.Context) {
opts := &models.SearchDatasetOptions{
UploadAttachmentByMe: true,
NeedAttachment: false,
CloudBrainType: ctx.QueryInt("type"),
CloudBrainType: -1,
SearchOrderBy: getDatasetOrderBy(ctx),
}
repo.DatasetMultiple(ctx, opts)
@@ -422,7 +422,7 @@ func ExploreFavoriteDatasets(ctx *context.Context) {
StarByMe: true,
DatasetIDs: models.GetDatasetIdsStarByUser(ctx.User.ID),
NeedAttachment: false,
CloudBrainType: ctx.QueryInt("type"),
CloudBrainType: -1,
}
repo.DatasetMultiple(ctx, opts)



Loading…
Cancel
Save