Missing a paren, fixed below
-Dwight
Mlo betazoid on Android sgn2
On May 23, 2015, Dwight Arthur <[email protected]> wrote:
I don’t have time to test it so I will just send it and hope it works
((Project Status = In Progress)
AND
[(ActiveAction is True)
AND]
((StartDateTime OnOrBefore Today)
Or
(StartDateTime DoesNotExist))
AND
((isProject = False)
OR
((isProject = True)
AND
(hasSubtasks = True))))
The part in square brackets is something you didn’t ask for. I would have
included it if this were my filter so I threw it in. If you don’t like it just
delete everything between the two square brackets.
It says, show me all active tasks that are a part of an active project, except
that if this is the project entry itself, exclude it if it has no subtasks.
-Dwight
From: [email protected]
[mailto:[email protected]] On Behalf Of robisme (Olivier R)
Sent: Friday, May 22, 2015 4:34 PM
To: [email protected]
Subject: Re: [MLO] please help me to create a particular view
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.
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.
--
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/00e701d09519%2457eb16d0%2407c14470%24%40dwightarthur.us.
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/25e8d2b1-ad61-41ae-bc43-6ddd7cac9543%40dwightarthur.us.
For more options, visit https://groups.google.com/d/optout.