mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
edited notes: better sql like statement (#7681)
This commit is contained in:
parent
b54765113e
commit
118e11c3fd
@ -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