From 8654accc3ddf60f428e5220090f5344ce4105396 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 17 Nov 2022 23:36:22 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=8F=8D=E9=93=BE=E9=9D=A2=E6=9D=BF?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=85=B3=E9=94=AE=E5=AD=97=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=20https://github.com/siyuan-note/siyuan/issues/6178?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/model/backlink.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kernel/model/backlink.go b/kernel/model/backlink.go index e5cf2602c..de039fe02 100644 --- a/kernel/model/backlink.go +++ b/kernel/model/backlink.go @@ -387,11 +387,6 @@ func GetBacklink2(id, keyword, mentionKeyword string, sortMode, mentionSortMode tmpBackmentions := toFlatTree(mentionRefs, 0, "backlink") for _, l := range tmpBackmentions { l.Blocks = nil - if "" != mentionKeyword { - if !strings.Contains(l.Name, mentionKeyword) { - continue - } - } backmentions = append(backmentions, l) }