Skip to content

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

:bug: Database filtering does not work after change the field type https://github.com/siyuan-note/siyuan/issues/10519

Danielc8ff9870898f
diff --git a/kernel/av/filter.go b/kernel/av/filter.go
index 7848290c17..8e254fedff 100644
--- a/kernel/av/filter.go
+++ b/kernel/av/filter.go
@@ -97,6 +97,8 @@ func (filter *ViewFilter) GetAffectValue(key *Key, defaultVal *Value) (ret *Valu
}
ret = filter.Value.Clone()
+ ret.CreatedAt = util.CurrentTimeMillis()
+ ret.UpdatedAt = ret.CreatedAt + 1000
if nil != defaultVal {
// 如果有默认值则优先使用默认值