Dataview only searches tags in frontmatter not in content

Hi there,
I have a little dataview-code to search for all files with the tag “#literatur/todo”.
But dataview finds only files with this tag in frontmatter, not in the content.
Why and how can I change the code?

TABLE prio as Prio, frist as Frist, tags as Tags
FROM (#literatur/todo)
WHERE prio >=4 
SORT prio DESC , frist DESC , file.cday ASC, file.name ASC

1 Like

Oh sorry,
I learned in the meantime, that dataview only can search in the properties of the files.
A simple query like the following lists the files.

tag: #literatur/todo

But the result is not so informative like a dataview table.
Is there another possibility, to get an informative result?

1 Like

Another correction :roll_eyes:

TABLE prio as Prio, frist as Frist, tags as Tags
FROM (#literatur/todo)
WHERE prio >=4 
SORT prio DESC , frist DESC , file.cday ASC, file.name ASC

This code finds files with the tag #literatur/todo. This means, dataview does indeed find tags in the file content. But then dataview can’t list those tags in the column “tags”. In this column it only lists tags that are in frontmatter.
That’s a bit weird.

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