Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: 反链面板支持关键字过滤 https://github.com/siyuan-note/siyuan/issues/6178

Liang Ding8654accc3ddf
diff --git a/kernel/model/backlink.go b/kernel/model/backlink.go
index e5cf2602c9..de039fe028 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)
}