Skip to content

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

:bug: Fix database rollup calc https://ld246.com/article/1713803461956

Danielcac7da4eda8c
diff --git a/kernel/av/value.go b/kernel/av/value.go
index f07d719598..952bd27714 100644
--- a/kernel/av/value.go
+++ b/kernel/av/value.go
@@ -849,7 +849,7 @@ func (r *ValueRollup) RenderContents(calc *RollupCalc, destKey *Key) {
if KeyTypeDate == v.Type && nil != v.Date && v.Date.IsNotEmpty {
if 0 == latest || latest < v.Date.Content {
latest = v.Date.Content
- isNotTime = v.Date.IsNotEmpty
+ isNotTime = v.Date.IsNotTime
hasEndDate = v.Date.HasEndDate
}
}