diff --git a/templates/repo/modelarts/index.tmpl b/templates/repo/modelarts/index.tmpl
index f09b7a36e..7820cb109 100755
--- a/templates/repo/modelarts/index.tmpl
+++ b/templates/repo/modelarts/index.tmpl
@@ -292,7 +292,11 @@
+ {{if .User.Name}}

+ {{else}}
+

+ {{end}}
From 1383bfca7cf1d8b1dce73b73f46f4451ad987424 Mon Sep 17 00:00:00 2001
From: ychao_1983
Date: Mon, 18 Oct 2021 16:22:44 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E6=8C=89=E9=A2=86=E5=9F=9F=E6=90=9C?=
=?UTF-8?q?=E7=B4=A2=E6=8C=89=E5=B0=8F=E5=86=99=E5=AD=97=E6=AF=8D=E6=90=9C?=
=?UTF-8?q?=E7=B4=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
models/repo_list.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/models/repo_list.go b/models/repo_list.go
index 928e1f953..c4d8ee823 100755
--- a/models/repo_list.go
+++ b/models/repo_list.go
@@ -331,7 +331,7 @@ func SearchRepositoryCondition(opts *SearchRepoOptions) builder.Cond {
}
if opts.TopicName != "" {
var subQueryCond = builder.NewCond()
- subQueryCond = subQueryCond.Or(builder.Eq{"topic.name": opts.TopicName})
+ subQueryCond = subQueryCond.Or(builder.Eq{"topic.name": strings.ToLower(opts.TopicName)})
subQuery := builder.Select("repo_topic.repo_id").From("repo_topic").
Join("INNER", "topic", "topic.id = repo_topic.topic_id").
Where(subQueryCond).