Skip to content

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

:rotating_light:

Vanessa9ffb1e20cf4e
diff --git a/app/src/constants.ts b/app/src/constants.ts
index c02b313792..14c3d0a502 100644
--- a/app/src/constants.ts
+++ b/app/src/constants.ts
@@ -58,7 +58,7 @@ export abstract class Constants {
// localstorage
public static readonly LOCAL_SEARCHEDATA = "local-searchedata";
- public static readonly LOCAL_SEARCHEKEYS = "local-searchekeys";
+ public static readonly LOCAL_SEARCHEKEYS = "local-searchekeys"; // "keys","col", "row", "replaceKeys"
public static readonly LOCAL_DOCINFO = "local-docinfo"; // only mobile
public static readonly LOCAL_DAILYNOTEID = "local-dailynoteid";
public static readonly LOCAL_HISTORYNOTEID = "local-historynoteid";
diff --git a/app/src/search/spread.ts b/app/src/search/spread.ts
index 2463f4d120..adaf14253b 100644
--- a/app/src/search/spread.ts
+++ b/app/src/search/spread.ts
@@ -61,7 +61,7 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: stri
paragraph: window.siyuan.config.search.paragraph,
};
}
- let hPath = localData;
+ let hPath = "";
let idPath: string[] = [];
if (notebookId) {
hPath = escapeHtml(getNotebookName(notebookId));