This commit is contained in:
Daniel 2025-08-12 11:50:43 +08:00
parent 1136c1c493
commit c9530ea1c2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -352,6 +352,12 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDa
}
}
case KeyTypeDate:
if nil != value.Date && nil != other && nil != other.Date {
if !other.Date.IsNotEmpty {
return true
}
}
if nil != value.Date {
switch operator {
case FilterOperatorIsEmpty: