correct a typo in #1820 fix (#1824)

Thanks!
This commit is contained in:
WPum 2021-04-05 04:11:42 +08:00 committed by GitHub
parent c71f3c35b8
commit 903e6b7ccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 name NOT IN ('imageLink', 'relationMapLink', 'template')
AND rel.name NOT IN ('imageLink', 'relationMapLink', 'template')
AND rel.isDeleted = 0
AND rel.noteId != ''
AND rel.value != ''