Skip to content

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

:bug: Database filtering for specific dates not working Fix https://github.com/siyuan-note/siyuan/issues/10518

Daniel8827a5d523cf
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index 1bd8906177..e8589f9c61 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -2790,6 +2790,9 @@ func UpdateAttributeViewCell(tx *Transaction, avID, keyID, rowID, cellID string,
if nil != blockVal {
blockVal.Block.Updated = now
blockVal.UpdatedAt = now
+ if val.CreatedAt == val.UpdatedAt {
+ val.UpdatedAt += 1000 // 防止更新时间和创建时间一样
+ }
if isUpdatingBlockKey {
blockVal.IsDetached = val.IsDetached
}