partly reverted wrong change, #1820

This commit is contained in:
zadam 2021-04-10 23:24:17 +02:00
parent 3337487063
commit 479d742e85

View file

@ -25,7 +25,7 @@ function getRelations(noteIds) {
LEFT JOIN branches ON branches.parentNoteId = rel.noteId AND branches.noteId = rel.value AND branches.isDeleted = 0
WHERE (rel.noteId IN (???) OR rel.value IN (???))
AND rel.type = 'relation'
AND rel.name NOT IN ('imageLink', 'relationMapLink', 'template')
AND rel.name = 'imageLink'
AND rel.isDeleted = 0
AND rel.noteId != ''
AND rel.value != ''