From c38547107833bb4ec3ef7b09bcc12dc06d8f5f35 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 23 Dec 2023 21:05:52 +0800 Subject: [PATCH] :art: Add Relation column to database table view https://github.com/siyuan-note/siyuan/issues/9888 --- kernel/model/attribute_view.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 3f15a2561..11c734609 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{