From 948688a4ea0f4d5ace2c0346f8f88b82fdf50ed9 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 15 Nov 2025 22:05:32 +0200 Subject: [PATCH] fix(note_list): no longer displayed in help or search --- apps/client/src/entities/fnote.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/client/src/entities/fnote.ts b/apps/client/src/entities/fnote.ts index 425742ee3..5fe9bc67d 100644 --- a/apps/client/src/entities/fnote.ts +++ b/apps/client/src/entities/fnote.ts @@ -257,7 +257,9 @@ export default class FNote { } async getChildNoteIdsWithArchiveFiltering(includeArchived = false) { - if (!includeArchived) { + const isHiddenNote = this.noteId.startsWith("_"); + const isSearchNote = this.type === "search"; + if (!includeArchived && !isHiddenNote && !isSearchNote) { const unorderedIds = new Set(await search.searchForNoteIds(`note.parents.noteId="${this.noteId}" #!archived`)); const results: string[] = []; for (const id of this.children) {