🎨 Improve database null value field sorting Fix https://github.com/siyuan-note/siyuan/issues/10951

This commit is contained in:
Daniel 2024-04-09 23:37:00 +08:00
parent 5e116a16d2
commit 59d7b4dfc5
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 7 additions and 7 deletions

View file

@ -954,7 +954,7 @@ func GetAttributeViewDefaultValue(valueID, keyID, blockID string, typ av.KeyType
ret.CreatedAt = time.Now().UnixMilli()
}
if 0 == ret.UpdatedAt {
ret.UpdatedAt = ret.CreatedAt + 1000
ret.UpdatedAt = ret.CreatedAt
}
switch typ {