note titles are now encrypted as well - plus auto-decryption of note tree and unloading

This commit is contained in:
azivner
2017-09-06 23:13:39 -04:00
parent 91245ab5b8
commit fe3d3c1995
4 changed files with 55 additions and 27 deletions

View File

@@ -11,7 +11,8 @@ def getTree():
notes = getResults("select "
"notes_tree.*, "
"COALESCE(clone.note_title, notes.note_title) as note_title, "
"notes.note_clone_id, "
"notes.note_clone_id, "
"notes.encryption, "
"case when notes.note_clone_id is null or notes.note_clone_id = '' then 0 else 1 end as is_clone "
"from notes_tree "
"join notes on notes.note_id = notes_tree.note_id "