Skip to content

Build your personal knowledge base with Trilium Notes

fix: no note on edited notes view if a revision made between note created/modified date

contributorc579cd3ce778
diff --git a/apps/server/src/routes/api/revisions.ts b/apps/server/src/routes/api/revisions.ts
index d126558f07..d9b7b975ed 100644
--- a/apps/server/src/routes/api/revisions.ts
+++ b/apps/server/src/routes/api/revisions.ts
@@ -162,7 +162,7 @@ function getEditedNotesOnDate(req: Request) {
AND (noteId NOT LIKE '_%')
UNION ALL
SELECT noteId FROM revisions
- WHERE revisions.dateLastEdited LIKE :date
+ WHERE revisions.dateCreated LIKE :date
)
ORDER BY isDeleted
LIMIT 50`,