mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 00:50:56 +08:00
🎨 Attribute View date column filter https://github.com/siyuan-note/siyuan/issues/8756
This commit is contained in:
parent
fd9c1b221e
commit
aafb91a410
@ -196,6 +196,8 @@ func (value *Value) CompareOperator(other *Value, operator FilterOperator) bool
|
||||
end := true
|
||||
if value.Date.HasEndDate {
|
||||
end = value.Date.Content2 <= other.Date.Content2
|
||||
} else {
|
||||
end = value.Date.Content <= other.Date.Content2
|
||||
}
|
||||
return start && end
|
||||
case FilterOperatorIsEmpty:
|
||||
|
Loading…
Reference in New Issue
Block a user