Filter by file title in description? #2257
-
I used to have task queries that included: What that clause did was find all tasks in all notes that contained the current note's title (without the It appears that as of v4.7.0 of tasks, my original query doesn't work anymore. I've done my best to read the doc, and I cannot find any relevant information on this. Is this a bug, or a change to the code? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hi, what previously expanded the title? It certainly wasn’t Tasks. For future reference, the What’s New section at the top of the Introduction page in the docs always points to new features… But the big thing in this release is Placeholders. I am not in front of a computer right now so can’t test it. But do have a look at the docs page, which links to the underlying library Tasks is using. It will likely explain how to escape the {{ characters. Or, depending on what you mean by title, you might be able to simplify your query and use the new Placeholders facility directly. Please do report back how you get on. Thanks. |
Beta Was this translation helpful? Give feedback.
-
This is all a bit non-specific and not in a place that I can track progress. Also, I use Templater too and have variables with no problem so there is something specific about your set up. If you would like me to investigate it, please read the following page thoroughly and make a bug report and attach a zip of a minimal vault set up with your workflow, and then give a detailed, numbered list of steps to reproduce the problem. |
Beta Was this translation helpful? Give feedback.
-
@FilSalustri If I understand your intention correctly, this is how you can now write your query using a pure Tasks filter, with needing to use Templater to embed some hard-coded test that won't update if the file gets renamed:
|
Beta Was this translation helpful? Give feedback.
This is all a bit non-specific and not in a place that I can track progress.
Also, I use Templater too and have variables with no problem so there is something specific about your set up.
If you would like me to investigate it, please read the following page thoroughly and make a bug report and attach a zip of a minimal vault set up with your workflow, and then give a detailed, numbered list of steps to reproduce the problem.
https://publish.obsidian.md/tasks/Support+and+Help/Report+a+Bug