mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 17:10:53 +08:00
🎨 Add number type column to Attribute View https://github.com/siyuan-note/siyuan/issues/8690
This commit is contained in:
parent
464a7a6aee
commit
521c2f8c2d
@ -140,7 +140,9 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) bool
|
||||
case FilterOperatorIsLessOrEqual:
|
||||
return value.Number.Content <= other.Number.Content
|
||||
case FilterOperatorIsEmpty:
|
||||
return 0 == value.Number.Content
|
||||
return !value.Number.IsNotEmpty
|
||||
case FilterOperatorIsNotEmpty:
|
||||
return value.Number.IsNotEmpty
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user