mirror of
https://github.com/zadam/trilium.git
synced 2026-01-01 12:14:24 +01:00
fix sql like pattern
This commit is contained in:
parent
e883f32f89
commit
d0a994c102
@ -159,7 +159,7 @@ function getEditedNotesOnDate(req: Request) {
|
||||
SELECT noteId FROM notes
|
||||
WHERE
|
||||
(notes.dateCreated LIKE :date OR notes.dateModified LIKE :date)
|
||||
AND (notes.noteId NOT LIKE '%\\_%' ESCAPE '\\')
|
||||
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