From f1bf15146abcccdbe78b60f7e7169bc2b6b5d032 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 2 Aug 2025 18:07:06 +0800 Subject: [PATCH] :art: Improve `Add to Database` https://github.com/siyuan-note/siyuan/issues/10659 --- kernel/model/attribute_view.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 38c669c73..62dc37d36 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -1116,17 +1116,6 @@ func SearchAttributeView(keyword string, excludeAvIDs []string) (ret []*SearchAt continue } - exist := false - for _, result := range ret { - if result.AvID == avID { - exist = true - break - } - } - if exist { - continue - } - var hPath string baseBlock := treenode.GetBlockTreeRootByPath(node.Box, node.Path) if nil != baseBlock {