An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve floating window backlink https://github.com/siyuan-note/siyuan/issues/13371
Danield866dbf98ae9
diff --git a/kernel/model/blockinfo.go b/kernel/model/blockinfo.goindex 760d74b9e3..8d48c6435d 100644--- a/kernel/model/blockinfo.go+++ b/kernel/model/blockinfo.go@@ -90,7 +90,7 @@ func GetDocInfo(blockID string) (ret *BlockInfo) {}}- ret.RefIDs, _ = sql.QueryRefIDsByDefID(blockID, false)+ ret.RefIDs, _ = sql.QueryRefIDsByDefID(blockID, Conf.Editor.BacklinkContainChildren)buildBacklinkListItemRefs(&ret.RefIDs)ret.RefCount = len(ret.RefIDs) // 填充块引计数@@ -163,7 +163,7 @@ func GetDocsInfo(blockIDs []string, queryRefCount bool, queryAv bool) (rets []*B}}if queryRefCount {- ret.RefIDs, _ = sql.QueryRefIDsByDefID(blockID, false)+ ret.RefIDs, _ = sql.QueryRefIDsByDefID(blockID, Conf.Editor.BacklinkContainChildren)ret.RefCount = len(ret.RefIDs) // 填充块引计数}