Please help - using filters #3587
-
Hi - I'm kind of new to this and looking for some help with writing two types of filters. First Filter
And this works fine. But I want to modify this so that instead of just showing me Tasks that come from a file that has the property 'Project' - I want it to pull Tasks that come from a file that either has a property called 'Project' OR a property called 'Opportunity'. But I can't figure out how to add the OR statement to this filter. Second filter filter by function task.file.property('Project') === '[[Specific Project Name]]' But if I place this query on the Project page, then I want my filter statement to say "this.file.name" instead of manually typing in the name of the specific project. This way, I could put this query into my Project page template. Is this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
See Combining Filters. So try this:
I like wrapping long lines with
Be sure to read the Syntax section to understand why all the following work, and when to use them:
You can access various information about the query file: See Query Properties. So try these:
|
Beta Was this translation helpful? Give feedback.
-
(I've changed the Category to Q&A) |
Beta Was this translation helpful? Give feedback.
See Combining Filters.
So try this:
I like wrapping long lines with
\
for readability:Be sure to read the Syntax section to understand why all the following work, and when to use them: