I have a note with tag name “domain”. This tag name contains verious tags (#tag1, #tags2).
At the bottom on this file I would like to get a list of all files contains these tags value (#tag1, #tag2) in their respectif domain field name value.
The domain tags value can be anythings. The search is based on current file domain tags values
Things I have tried
I am struggling for a few moment on it ;-(
LIST file.name
WHERE contains(domain, this.file.domain) and (file.name = this.file.name)
I change a bit to fit my needs (even if it’s not my initial request !! ) as follow :
TABLE
WITHOUT ID file.link as Topic, join(file.etags) as Etags, join(filter(tagmatches, (x) => (x != "#dictionnary") and (x != "#todo/dictionnary") )) as Matches
FLATTEN list(filter(file.etags, (t) => econtains(this.file.etags, t))) as tagmatches
WHERE length(tagmatches) > 2