Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/6769

Vanessa60307c3b657c
diff --git a/app/src/search/util.ts b/app/src/search/util.ts
index 6c6c67b2f0..6e9ff4fa68 100644
--- a/app/src/search/util.ts
+++ b/app/src/search/util.ts
@@ -90,7 +90,7 @@ export const genSearch = (config: ISearchOption, element: Element, closeCB?: ()
let includeChild = true;
let enableIncludeChild = false;
config.idPath.forEach(item => {
- if (!item.endsWith(".sy") && item.split("/").length > 1) {
+ if (item.endsWith(".sy")) {
includeChild = false;
}
if (item.split("/").length > 1) {