Skip to content

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

:art: Support for opening file history on the doc tree https://github.com/siyuan-note/siyuan/issues/8448

Daniel5f8b71f566ac
diff --git a/kernel/model/history.go b/kernel/model/history.go
index 93d59bfdf8..c76b62fff9 100644
--- a/kernel/model/history.go
+++ b/kernel/model/history.go
@@ -313,7 +313,7 @@ type HistoryItem struct {
func FullTextSearchHistory(query, box, op string, typ, page int) (ret []string, pageCount, totalCount int) {
query = gulu.Str.RemoveInvisible(query)
- if "" != query {
+ if "" != query && HistoryTypeDocID != typ {
query = stringQuery(query)
}