Filter Dataview links based on breadcrumbs

What I am trying to do is see all the backlinks to a note which are children of those notes according to breadcrumbs.

Often I try to find new connections but the backlinks panel gets cluttered with breadcrumbs children

let file = dv.current().file
let inlinks = file.inlinks;
dv.span(inlinks.filter(*don't know what to filter here))

I came up with this much but don’t know how to filter the breadcrumbs children notes.

Thanks in advance :sweat_smile:

Most notes have a dataview called parent::
So I guess the way to do this is to check if the files with incoming links have the parent dataview = current file and exclude them. But I am having some trouble putting this into code

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.