An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: 数据历史文档支持只读可视化预览 https://github.com/siyuan-note/siyuan/issues/5735
Liang Ding0457172f9bbd
diff --git a/kernel/model/history.go b/kernel/model/history.goindex 6eeb4d7be3..28ddd02f66 100644--- a/kernel/model/history.go+++ b/kernel/model/history.go@@ -279,11 +279,11 @@ func FullTextSearchHistory(query, box, op string, typ, page int) (ret []*History} else {stmt += "1=1"}- if "all" != op {- stmt += " AND op = '" + op + "'"- }if HistoryTypeDoc == typ {+ if "all" != op {+ stmt += " AND op = '" + op + "'"+ }stmt += " AND path LIKE '%/" + box + "/%' AND path LIKE '%.sy'"} else if HistoryTypeAsset == typ {stmt += " AND path LIKE '%/assets/%'"