Skip to content

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

:art: Improve av https://github.com/siyuan-note/siyuan/issues/14511

Daniel1247f6735b9c
diff --git a/kernel/sql/av.go b/kernel/sql/av.go
index ab1e14fcce..2e0bd4d157 100644
--- a/kernel/sql/av.go
+++ b/kernel/sql/av.go
@@ -284,7 +284,7 @@ func filterNotFoundAttrViewItems(keyValuesMap *map[string][]*av.KeyValues) {
continue
}
- toCheckBlockIDs = append(toCheckBlockIDs, blockID)
+ toCheckBlockIDs = append(toCheckBlockIDs, blockValue.Block.ID)
}
checkRet := treenode.ExistBlockTrees(toCheckBlockIDs)
for blockID, exist := range checkRet {