mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 23:50:13 +01:00
🎨 Supports searching database view content https://github.com/siyuan-note/siyuan/issues/9419
This commit is contained in:
parent
22efb3d523
commit
8399aba10b
1 changed files with 1 additions and 3 deletions
|
|
@ -21,7 +21,6 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"strconv"
|
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
@ -1009,8 +1008,7 @@ func (tx *Transaction) doUpdateUpdated(operation *Operation) (ret *TxErr) {
|
||||||
return &TxErr{msg: ErrBlockNotFound.Error(), id: id}
|
return &TxErr{msg: ErrBlockNotFound.Error(), id: id}
|
||||||
}
|
}
|
||||||
|
|
||||||
updated := int64(operation.Data.(float64))
|
node.SetIALAttr("updated", operation.Data.(string))
|
||||||
node.SetIALAttr("updated", strconv.FormatInt(updated, 10))
|
|
||||||
createdUpdated(node)
|
createdUpdated(node)
|
||||||
tx.nodes[node.ID] = node
|
tx.nodes[node.ID] = node
|
||||||
if err = tx.writeTree(tree); nil != err {
|
if err = tx.writeTree(tree); nil != err {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue