Hi sysbreaker! Thanks for taking the time! The query you suggested is identical to the one I listed apart from using “Group by header” The problem then becomes it doesn’t list the headings at all.
My query:
TASK
FROM "name of file"
WHERE contains(tags, "#example-tag")
GROUP BY header
and your suggestion was:
TASK
FROM "name of file"
WHERE contains(tags, "#tag1")
I wrote “example-tag” in my post but if you look at the image you can see I used “#tag-1.” The problem still remains - without the “Group by header,” it lists the result in one massive list without breaks which can be quite overwhelming in large documents. However, with the “Group by header” it lists by heading which helps, but since it includes the file name in each listed heading it makes the result look very cluttered and difficult to navigate.
Some workarounds would be to:
-
Begin each header with a number, like “1) Heading One”
-
Use separate documents for what would otherwise be a separate heading and then list the folder in the “FROM” section.
However, there’s got to be a way to remove the file name from the heading in the results… Any ideas?