not generating externalLink labels anymore since there can be too many and benefit is too small

This commit is contained in:
zadam
2020-04-05 16:06:13 +02:00
parent 8d312515dd
commit 081693f263
5 changed files with 8 additions and 49 deletions

View File

@@ -811,11 +811,9 @@ class Note extends Entity {
SELECT *
FROM attributes
WHERE noteId = ? AND
isDeleted = 0 AND
((type = 'relation' AND
name IN ('internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink'))
OR
(type = 'label' AND name = 'externalLink'))`, [this.noteId]);
isDeleted = 0 AND
type = 'relation' AND
name IN ('internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink')`, [this.noteId]);
}
/**