We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ca295 commit 948688aCopy full SHA for 948688a
apps/client/src/entities/fnote.ts
@@ -257,7 +257,9 @@ export default class FNote {
257
}
258
259
async getChildNoteIdsWithArchiveFiltering(includeArchived = false) {
260
- if (!includeArchived) {
+ const isHiddenNote = this.noteId.startsWith("_");
261
+ const isSearchNote = this.type === "search";
262
+ if (!includeArchived && !isHiddenNote && !isSearchNote) {
263
const unorderedIds = new Set(await search.searchForNoteIds(`note.parents.noteId="${this.noteId}" #!archived`));
264
const results: string[] = [];
265
for (const id of this.children) {
0 commit comments