🐛 Database filtering for specific dates not working Fix https://github.com/siyuan-note/siyuan/issues/10518

This commit is contained in:
Daniel 2024-03-07 09:51:27 +08:00
parent 4df3445599
commit 8827a5d523
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -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
}