mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
🐛 Database filtering for specific dates not working Fix https://github.com/siyuan-note/siyuan/issues/10518
This commit is contained in:
parent
0d32479a5d
commit
4df3445599
1 changed files with 3 additions and 0 deletions
|
|
@ -2795,6 +2795,9 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val.UpdatedAt = now
|
val.UpdatedAt = now
|
||||||
|
if val.CreatedAt == val.UpdatedAt {
|
||||||
|
val.UpdatedAt += 1000 // 防止更新时间和创建时间一样
|
||||||
|
}
|
||||||
|
|
||||||
key, _ := attrView.GetKey(val.KeyID)
|
key, _ := attrView.GetKey(val.KeyID)
|
||||||
if nil != key && av.KeyTypeRelation == key.Type && nil != key.Relation {
|
if nil != key && av.KeyTypeRelation == key.Type && nil != key.Relation {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue