🐛 Database filtering does not work after change the field type https://github.com/siyuan-note/siyuan/issues/10519

This commit is contained in:
Daniel 2024-03-06 23:25:25 +08:00
parent 2e8e78836e
commit c8ff987089
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -97,6 +97,8 @@ func (filter *ViewFilter) GetAffectValue(key *Key, defaultVal *Value) (ret *Valu
}
ret = filter.Value.Clone()
ret.CreatedAt = util.CurrentTimeMillis()
ret.UpdatedAt = ret.CreatedAt + 1000
if nil != defaultVal {
// 如果有默认值则优先使用默认值