mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
73869d7f69
commit
6d98e3b18a
1 changed files with 1 additions and 1 deletions
|
|
@ -542,7 +542,7 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDa
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
case KeyTypeRelation:
|
case KeyTypeRelation:
|
||||||
if nil != value.Relation && nil != other && nil != other.Relation {
|
if nil != value.Relation && 0 < len(value.Relation.Contents) && nil != other && nil != other.Relation && 0 < len(other.Relation.Contents) {
|
||||||
return filterTextContent(operator, value.Relation.Contents[0].Block.Content, other.Relation.Contents[0].Block.Content)
|
return filterTextContent(operator, value.Relation.Contents[0].Block.Content, other.Relation.Contents[0].Block.Content)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue