Skip to content

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

:art: Improve `Add to Database` https://github.com/siyuan-note/siyuan/issues/10659

Danielf1bf15146abc
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index 38c669c73c..62dc37d363 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 {