mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 09:59:02 +01:00
edited notes: better sql like statement
This commit is contained in:
parent
a6fc54cb81
commit
e883f32f89
@ -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