mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 09:59:02 +01:00
edited notes: better sql like statement (#7681)
This commit is contained in:
commit
5a01f75d67
@ -159,7 +159,7 @@ function getEditedNotesOnDate(req: Request) {
|
||||
SELECT noteId FROM notes
|
||||
WHERE
|
||||
(notes.dateCreated LIKE :date OR notes.dateModified LIKE :date)
|
||||
AND (noteId NOT LIKE '_%')
|
||||
AND (notes.noteId NOT LIKE '\\_%' ESCAPE '\\')
|
||||
UNION ALL
|
||||
SELECT noteId FROM revisions
|
||||
WHERE revisions.dateCreated LIKE :date
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user