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/5754
Liang Ding49e6d708d6d2
diff --git a/kernel/model/history.go b/kernel/model/history.goindex 5edeb6c7bc..6c2434795e 100644--- a/kernel/model/history.go+++ b/kernel/model/history.go@@ -283,7 +283,7 @@ func FullTextSearchHistory(query, box, op string, typ, page int) (ret []*History}if HistoryTypeDoc == typ {- stmt += " AND path LIKE '%/" + box + "/%'"+ stmt += " AND path LIKE '%/" + box + "/%' AND path LIKE '%.sy'"} else if HistoryTypeAsset == typ {stmt += " AND path LIKE '%/assets/%'"}@@ -494,6 +494,7 @@ func ReindexHistory() (err error) {return}+ sql.InitHistoryDatabase(true)lutEngine := NewLute()for _, historyDir := range historyDirs {if !historyDir.IsDir() {