Filter excludeFromNoteMap from backlinks

This commit is contained in:
sigaloid
2022-08-18 23:12:58 -04:00
parent e93dd176c0
commit c85ec957ec
2 changed files with 2 additions and 2 deletions

View File

@@ -315,7 +315,7 @@ function getBacklinkCount(req) {
}
else {
return {
count: note.getTargetRelations().length
count: note.getTargetRelations().filter(note => !note.getNote().hasLabel('excludeFromNoteMap')).length
};
}
}