mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-27 11:58:49 +01:00
🐛 Database filtering for specific dates not working Fix https://github.com/siyuan-note/siyuan/issues/10518
This commit is contained in:
parent
4df3445599
commit
8827a5d523
1 changed files with 3 additions and 0 deletions
|
|
@ -2790,6 +2790,9 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
|
|||
if nil != blockVal {
|
||||
blockVal.Block.Updated = now
|
||||
blockVal.UpdatedAt = now
|
||||
if val.CreatedAt == val.UpdatedAt {
|
||||
val.UpdatedAt += 1000 // 防止更新时间和创建时间一样
|
||||
}
|
||||
if isUpdatingBlockKey {
|
||||
blockVal.IsDetached = val.IsDetached
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue