Skip to content

Build your personal knowledge base with Trilium Notes

don't filter on root hoisted note

zadam8a539dc5140d
diff --git a/src/routes/api/note_revisions.js b/src/routes/api/note_revisions.js
index 0d390328cc..be301e621d 100644
--- a/src/routes/api/note_revisions.js
+++ b/src/routes/api/note_revisions.js
@@ -129,7 +129,7 @@ function getEditedNotesOnDate(req) {
// Narrow down the results if a note is hoisted, similar to "Jump to note".
const hoistedNoteId = cls.getHoistedNoteId();
- if (hoistedNoteId) {
+ if (hoistedNoteId !== 'root') {
notes = notes.filter(note => note.hasAncestor(hoistedNoteId));
}