Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(note_list): no longer displayed in help or search
Elian Doran948688a4ea0f
diff --git a/apps/client/src/entities/fnote.ts b/apps/client/src/entities/fnote.tsindex 425742ee3b..5fe9bc67d4 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) {