Filter For Multiple Backlinks In File Property #3014
-
I'm leveraging the new file property feature to find all tasks in pages where the "Parent Project" is X. The parent project is a link to a note. I have a working version below, but it only works when there is one project in the parent project field. I'm not a programer so I got this far, is there a way to make this work when there are multiple parent projects?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi, I'm unclear whether the parent project is Please provide some realistic example tasks, as markdown lines I can copy, so that I can understand what you are trying to do, and can test any answer given. |
Beta Was this translation helpful? Give feedback.
-
The problem is that your file is using two different Property Types - I found a way that you can use the same filter for both, though. The
Text to copy and try out:
It gives this in my test vault: |
Beta Was this translation helpful? Give feedback.
The problem is that your file is using two different Property Types -
List
andText
- and the JavaScript code for searching them is different.I found a way that you can use the same filter for both, though.
The
group by function
lines are so you can visualise what the following does:Text to copy and try out: