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

This commit is contained in:
contributor 2025-10-28 12:07:14 +02:00
parent 945e2625d3
commit c579cd3ce7

View File

@ -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`,