I tried these two snippets.
var source = dv.pages().file.tasks.filter(contains(t => t.contains("#comm")) dv.taskList(source, false);
and this one, which “seemingly” works but checks whether the tag is present in the entire note, not just the task itself.
TASK FROM #comm WHERE !completed
this doesn’t let me complete the tasks from the table:
table tasks.text AS "Remaining" flatten file.tasks as tasks where contains(tasks.text, "#comm")
Filter all uncompleted tasks with a certian tag