An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Database filtering for specific dates not working Fix https://github.com/siyuan-note/siyuan/issues/10518
Danielacb894afb14b
diff --git a/kernel/av/av.go b/kernel/av/av.goindex abddacc800..5ad8c352b2 100644--- a/kernel/av/av.go+++ b/kernel/av/av.go@@ -232,7 +232,7 @@ func ParseAttributeView(avID string) (ret *AttributeView, err error) {ret = &AttributeView{}if err = gulu.JSON.UnmarshalJSON(data, ret); nil != err {- if strings.Contains(err.Error(), "cannot unmarshal string into Go struct field ValueRelation.keyValues.values.relation.contents of type av.Value") {+ if strings.Contains(err.Error(), ".relation.contents of type av.Value") {// v3.0.3 兼容之前旧版本,通过正则将 "relation":{"contents":[".*"],"blockIDs": 替换为 "relation":{"contents":null,"blockIDs":data = regexp.MustCompile(`"relation":{"contents":\[".*"\],"blockIDs":`).ReplaceAll(data, []byte(`"relation":{"contents":null,"blockIDs":`))if err = gulu.JSON.UnmarshalJSON(data, ret); nil != err {