mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 03:58:53 +08:00
partly reverted wrong change, #1820
This commit is contained in:
parent
3337487063
commit
479d742e85
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ function getRelations(noteIds) {
|
||||||
LEFT JOIN branches ON branches.parentNoteId = rel.noteId AND branches.noteId = rel.value AND branches.isDeleted = 0
|
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 (???))
|
WHERE (rel.noteId IN (???) OR rel.value IN (???))
|
||||||
AND rel.type = 'relation'
|
AND rel.type = 'relation'
|
||||||
AND rel.name NOT IN ('imageLink', 'relationMapLink', 'template')
|
AND rel.name = 'imageLink'
|
||||||
AND rel.isDeleted = 0
|
AND rel.isDeleted = 0
|
||||||
AND rel.noteId != ''
|
AND rel.noteId != ''
|
||||||
AND rel.value != ''
|
AND rel.value != ''
|
||||||
|
|
Loading…
Reference in a new issue