diff --git a/routers/home.go b/routers/home.go index aefbec8786..1f049a4eb5 100755 --- a/routers/home.go +++ b/routers/home.go @@ -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)