fixes #4 Hidden attachment images don't appear on note title display card
* Fixed typo on home page
This commit is contained in:
parent
97e7988ed1
commit
ad91218359
@ -105,7 +105,7 @@
|
|||||||
<h3 class="subtext">
|
<h3 class="subtext">
|
||||||
Using an online note application <i class="i cursor icon blinking"></i>
|
Using an online note application <i class="i cursor icon blinking"></i>
|
||||||
</h3>
|
</h3>
|
||||||
<p>Assuming you have never used an note application previously in your life.</p>
|
<p>Assuming you have never used a note application previously in your life.</p>
|
||||||
<br>
|
<br>
|
||||||
<i class="huge inverted chevron circle down icon"></i>
|
<i class="huge inverted chevron circle down icon"></i>
|
||||||
</div>
|
</div>
|
||||||
|
@ -453,7 +453,9 @@ Note.search = (userId, searchQuery, searchTags, fastFilters) => {
|
|||||||
LEFT JOIN tag ON (tag.id = note_tag.tag_id)
|
LEFT JOIN tag ON (tag.id = note_tag.tag_id)
|
||||||
LEFT JOIN attachment ON (note.id = attachment.note_id)
|
LEFT JOIN attachment ON (note.id = attachment.note_id)
|
||||||
LEFT JOIN user as shareUser ON (note.share_user_id = shareUser.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
|
//Show shared notes
|
||||||
if(fastFilters.onlyShowSharedNotes == 1){
|
if(fastFilters.onlyShowSharedNotes == 1){
|
||||||
|
Loading…
Reference in New Issue
Block a user