Skip to content

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

:art: Add comments https://github.com/siyuan-note/siyuan/issues/10800#issuecomment-2028788064

Daniel5e7d2341f407
diff --git a/kernel/model/search.go b/kernel/model/search.go
index 4ab66416b0..b29ae1ab30 100644
--- a/kernel/model/search.go
+++ b/kernel/model/search.go
@@ -424,6 +424,7 @@ func FindReplace(keyword, replacement string, replaceTypes map[string]bool, ids
if 0 != groupBy {
// 按文档分组后不支持替换 Need to be reminded that replacement operations are not supported after grouping by doc https://github.com/siyuan-note/siyuan/issues/10161
+ // 因为分组条件传入以后搜索只能命中文档块,会导致 全部替换 失效
err = errors.New(Conf.Language(221))
return
}