From ee3c6a20d867de75de60e22d213c5d49d8e95862 Mon Sep 17 00:00:00 2001 From: ychao_1983 Date: Wed, 22 Mar 2023 18:49:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=9B=86=E5=B9=BF=E5=9C=BA?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=85=A8=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routers/home.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.34.1