mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🎨 Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958
This commit is contained in:
parent
4fcc7f1b4c
commit
99218f400b
6 changed files with 35 additions and 10 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue