Bug fixes and encryption handling

This commit is contained in:
Max G committed 2020-03-14 06:04:03 +00:00
1 parent ca0b649ff6
commit 342ac95282
4 files changed
+31 -15

No files matched your search

+4
View File
@@ -23,6 +23,10 @@ Tag.userTags = (userId, searchQuery, searchTags, fastFilters) => {
query += ' AND note.share_user_id IS NULL'
}
if(fastFilters && fastFilters.onlyShowEncrypted == 1){
query += ' AND note.encrypted = 1' //Show Archived
}
//Show archived notes, only if fast filter is set, default to not archived
if(fastFilters && fastFilters.onlyArchived == 1){
query += ' AND note.archived = 1' //Show Archived