small tweaks

This commit is contained in:
zadam
2021-02-13 21:52:31 +01:00
parent 378987e61c
commit 076b4a6651
5 changed files with 5 additions and 5 deletions

View File

@@ -48,8 +48,7 @@ function getRecentNotes(activeNoteId) {
recent_notes
JOIN notes USING(noteId)
WHERE
recent_notes.isDeleted = 0
AND notes.isDeleted = 0
notes.isDeleted = 0
AND notes.noteId != ?
${extraCondition}
ORDER BY