I would like to show with dataview the files located in some folder with tags of the actual file.
For example I have the following file with dataview query:
Tags: rice, tomatoes, onion
To make recipe you need to cook…
Other recipes with this ingredients:
LIST FROM "folder/name" AND this.file.tags
But the query shows a parsing failed error.
I tried too:
LIST FROM "folder/name"
WHERE this.file.tags
This query works but show all files of the folder, in my case I would like to show only the files of that folder with the tags of the actual file: rice, tomato, onion.
If I use the query:
LIST FROM "folder/name" AND #rice AND #tomatoes AND #onion
This works, but because I use a template I don’t like to write tags again every time.
Thank you @Shiinii this query works perfect, but I have to use YAML metadata. If I use normal #tags doesn’t work, again shows all the files of the folder. But this solution it’s perfect too.