[SOLVED] Can Dataview plugin restrict searches to inside tasks rather than using entire note?

(Originally posted on Discord - apologies for the cross-post)

Is there a way with the DataView plugin to get the TASK command to just pay attention to only the text in the tasks themselves? Right now, it triggers on any match in the entre note. So

  • [ ] phone [[Bill]] about the #newsletter
  • [ ] #urgent update [[formitwer.com]] ASAP

will both be caught in

TASK FROM [[Bill]]

because both tasks reside in the same .md file

Found the answer via a tip given on DIscord: use dataviewjs

.where(t => t.text.includes("[[Bob]]")))
1 Like

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