🎨 Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958

This commit is contained in:
Daniel 2024-01-01 01:08:55 +08:00
parent 4fcc7f1b4c
commit 99218f400b
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 35 additions and 10 deletions

View file

@ -109,7 +109,7 @@ func indexNode(tx *sql.Tx, id string) (err error) {
return
}
content := treenode.NodeStaticContent(node, nil, true, indexAssetPath)
content := treenode.NodeStaticContent(node, nil, true, indexAssetPath, true)
stmt := "UPDATE blocks SET content = ? WHERE id = ?"
if err = execStmtTx(tx, stmt, content, id); nil != err {
tx.Rollback()