This commit is contained in:
Daniel 2025-08-21 18:02:07 +08:00
parent bbc788cfa5
commit 4a0c4506e8
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -361,7 +361,12 @@ func (value *Value) filter(other *Value, relativeDate, relativeDate2 *RelativeDa
case KeyTypeSelect, KeyTypeMSelect:
if nil != value.MSelect {
if 1 > len(other.MSelect) {
return true
switch operator {
case FilterOperatorIsEmpty:
return value.IsEmpty()
case FilterOperatorIsNotEmpty:
return !value.IsEmpty()
}
}
switch operator {