Skip to content

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

:art: Add Relation column to database table view https://github.com/siyuan-note/siyuan/issues/9888

Danielc38547107833
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index 3f15a25615..11c7346095 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -109,6 +109,10 @@ func SearchAttributeView(keyword string, page int, pageSize int) (ret []*SearchA
if nil != baseBlock {
hPath = baseBlock.HPath
}
+ box := Conf.Box(node.Box)
+ if nil != box {
+ hPath = box.Name + hPath
+ }
if !exist {
ret = append(ret, &SearchAttributeViewResult{