It seems that none of this should be necessary if parent and child 
filtering worked correctly.

In another thread, you wrote a clear explanation of how they should work:

> Hierarchical views are created in two steps (well, more really but only 
two that matter to this discussion) First, the main and advanced filters 
are applied to create a flat list of items that pass the filter at that 
level. The second step makes it hierarchical: the children and/or parents 
(per your request) are attached to each of the items that passed step one. 
The children and/or parents are filtered based **not** on the main and 
advanced filters but on the child filter and/or parent filter (click the 
“config” button after the Show Hierarchy filter). Then the resulting trees 
are merged and your view is ready.

https://groups.google.com/g/mylifeorganized/c/daBDITQn-Ek/m/d47Dc_F7iAkJ

But as this user points out, parent and child filters sometimes exclude 
tasks that pass the main filters, which should never happen.

On Tuesday, April 18, 2017 at 3:46:54 PM UTC-7 Dwight wrote:

> I can come close but not perfect. Try this: set the main filter to 
> whatever you have in mind <or> (is project with subtasks). Configure 
> hierarchy to show children but not parents, and configure the child filter 
> to your original filter criterion.
>
> Result, just what I think you want, with one exception: if a project that 
> has subtasks all of which fail the original filter then the project should 
> be excluded but it is in fact included.
> Example, I have a profile with two contexts, @set and @clear. I want to 
> see all of the @set tasks and any parent that is a project.
>
> Full profile
>
>
> Main Filter
>
>
> Hierarchy filter
>
>
> Children Filter
>
>
> Result
>
> Result looks good to me except that "project with clear child" and 
> "project with clear grandchild" should not be displayed.
>
>
> On Tuesday, April 18, 2017 at 4:14:10 AM UTC-4, Amir Rachum wrote:
>>
>> What I want is to have a view with a certain filter (doesn't matter) and 
>> include the parent item only if it's a project.
>> When creating a filter for a custom view, there is a "Show Hierarchy" 
>> option. In the "Config" dialog, I can choose "Include Parent Item" and 
>> configure a filter for the parent items. 
>> However, if I set the filter to "IsProject = true", then I only get items 
>> that are in a project. That is, items that are included in my main filter 
>> are not shown if they are not children of a project.
>> What I want is to get *all* items in my filter, but show the parent only 
>> if it's a project. Is that possible?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"MyLifeOrganized" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mylifeorganized/d35bd9f4-d85b-4e11-a9ce-53f458a15a13n%40googlegroups.com.

Reply via email to