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 "edited notes on a day" for deleted notes
zadam9359f053355c
diff --git a/src/routes/api/note_revisions.js b/src/routes/api/note_revisions.jsindex 59af1825fc..cdbf36d706 100644--- a/src/routes/api/note_revisions.js+++ b/src/routes/api/note_revisions.js@@ -138,7 +138,7 @@ function getEditedNotesOnDate(req) {LIMIT 50`, {date: req.params.date + '%'});for (const note of notes) {- const notePath = noteCacheService.getNotePath(note.noteId);+ const notePath = note.isDeleted ? null : noteCacheService.getNotePath(note.noteId);note.notePath = notePath ? notePath.notePath : null;}