using included note should create a relation, closes #820

This commit is contained in:
zadam
2020-01-10 21:41:00 +01:00
parent 67bdffb27b
commit 759e47bfcf
3 changed files with 18 additions and 3 deletions

View File

@@ -805,7 +805,7 @@ class Note extends Entity {
WHERE noteId = ? AND
isDeleted = 0 AND
type = 'relation' AND
name IN ('internalLink', 'imageLink', 'relationMapLink')`, [this.noteId]);
name IN ('internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink')`, [this.noteId]);
}
/**