fixes #4 Hidden attachment images don't appear on note title display card

* Fixed typo on home page
This commit is contained in:
Max G committed 2020-02-10 20:43:34 +00:00
1 parent 97e7988ed1
commit ad91218359
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -453,7 +453,9 @@ Note.search = (userId, searchQuery, searchTags, fastFilters) => {
LEFT JOIN tag ON (tag.id = note_tag.tag_id)
LEFT JOIN attachment ON (note.id = attachment.note_id)
LEFT JOIN user as shareUser ON (note.share_user_id = shareUser.id)
WHERE note.user_id = ?`
WHERE note.user_id = ?
AND attachment.visible = 1
`
//Show shared notes
if(fastFilters.onlyShowSharedNotes == 1){