Are you interested to explore the conversion from dataview results to static results?
If yes, we can built a way. (the only thing I think you need to change in your query is the replace of “this.file.name[0]” by the real number)
Better if I leave here one example:
- Create a templater file with this content (as is):
<%*
//the dv query
const query = `TASK
FROM "Produttività 🎯/To-Do List 📝"
WHERE (containsword(text, "3") OR containsword(text, "sempre")) AND priorità = "alta"`
// get the results from the query above
let DQL = await DataviewAPI.tryQuery(query);
//the task list
const myTasks = DataviewAPI.markdownTaskList(DQL.values)
-%>
<% myTasks %>
- return to your note and run/insert the created templater