fixes #4 Hidden attachment images don't appear on note title display card
* Fixed typo on home page
This commit is contained in:
@@ -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){
|
||||
|
Reference in New Issue
Block a user