Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Attribute View date column filter https://github.com/siyuan-note/siyuan/issues/8756

Danielaafb91a410cf
diff --git a/kernel/av/table.go b/kernel/av/table.go
index 96a4f6c504..3a484d3439 100644
--- a/kernel/av/table.go
+++ b/kernel/av/table.go
@@ -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: