My filter is exactly :

[] AND
   [] (StartDateTime on or before Today) OR
   [] (StartDateTime does not exist)
[] (ProjectStatus=In Progress)

I don't know how to add :

[]
   [] (is project=True) AND
   [] (HasSubtasks=True)

It has no effect, because it doesn't avoid the first filter 
(ProjectStatus=In Progress).
The project with no subtaks still be displayed.







Le vendredi 22 mai 2015 22:23:51 UTC+2, robisme (Olivier R) a écrit :
>
> Thanks.
>
> Andrei:
> My view display active tasks grouped by context :
> - tasks belonging to a "in progress" project AND
> - which start date is not in the future (ie no start date or date on or 
> before today)
> In this view, there are projects displayed, because they are active.
> I'm ok to display the projects with only completed subtasks (ie project 
> became active task, but I don't want to display the projects without any 
> subtask (waiting for me to add tasks but already "in progress"
>
> Dwight: (suppressed previous message, my answer wasnot accurate enough)
> I'm no able to reproduce the law, because my purpose isn't "not (a or b)" 
> or "not (a and b)"
> I want "Not (a and b), ie Not (is project and hasn't subtask), but if I 
> set "not a" or (not b), I will have all the tasks that are not projects 
> (not a). I don't want that.
> I'd like "a But not b"
>
>
>
>
> Le vendredi 22 mai 2015 17:01:43 UTC+2, Dwight Arthur a écrit :
>>
>> HI, Olivier. 
>>
>> Long ago in symbolic logic class I learned DeMorgan's laws:
>>
>> Not (a or b)
>> Equals
>> (Not a) and (not b)
>>
>> Also
>>
>> Not (a and b)
>> Equals
>> (Not a) or (not b)
>>
>> If you apply DeMorgan's laws to your filter I think you will get 
>> something easier to code.
>> -Dwight
>> Mlo betazoid on Android sgn2
>>
>> On May 22, 2015, "robisme (Olivier R)" <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>> I have a view with the following conditions:
>>> - (Project status is "In Progress") AND
>>> - (Start date "on or before tomorrow" OR Start date "does not exist")
>>>
>>> I'd like to add a condition which could be something like :
>>> - NOT ("is project" AND Has subtask is "False")
>>>
>>> ie : DON'T display the projects without subtaks (but do display the 
>>> projects with completed subtaks)
>>> It is something like creating a new conjunction "NOT" in addition to OR 
>>> and AND
>>>
>>>
>>> How could I manage to do it?
>>> Thank you for helping me.
>>>
>>> Olivier
>>>
>>> -- 
>>> 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 post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/mylifeorganized.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/mylifeorganized/d28233be-bca0-4fc9-a0e0-85b926b87b37%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/mylifeorganized/d28233be-bca0-4fc9-a0e0-85b926b87b37%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mylifeorganized.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mylifeorganized/8667229d-e13e-4180-8bbd-9e4f430e9bab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to