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

This commit is contained in:
Daniel 2024-03-08 11:03:06 +08:00
parent 58b76e8926
commit f01170c12a
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -805,7 +805,7 @@ func renderAttributeViewTable(attrView *av.AttributeView, view *av.View) (ret *a
for _, blockID := range relVal.Relation.BlockIDs {
destVal := destAv.GetValue(rollupKey.Rollup.KeyID, blockID)
if nil == destVal {
destVal = GetAttributeViewDefaultValue(ast.NewNodeID(), rollupKey.Rollup.KeyID, blockID, destKey.Type)
continue
}
if av.KeyTypeNumber == destKey.Type {
destVal.Number.Format = destKey.NumberFormat