From c7224bc0d12ea4dd5b29b05abb2318406d7fc0d6 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 20 Oct 2025 17:14:26 +0300 Subject: [PATCH] fix(client/search): note IDs being calculated recursively in table --- apps/client/src/widgets/collections/NoteList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/widgets/collections/NoteList.tsx b/apps/client/src/widgets/collections/NoteList.tsx index f76dd4b5d..017f180de 100644 --- a/apps/client/src/widgets/collections/NoteList.tsx +++ b/apps/client/src/widgets/collections/NoteList.tsx @@ -140,7 +140,7 @@ export function useNoteIds(note: FNote | null | undefined, viewType: ViewTypeOpt } async function getNoteIds(note: FNote) { - if (viewType === "list" || viewType === "grid") { + if (viewType === "list" || viewType === "grid" || viewType === "table") { return note.getChildNoteIds(); } else { return await note.getSubtreeNoteIds(includeArchived);