How to hide specific tasks in taskreport

391 views
Skip to first unread message

ThomasHa

unread,
Dec 19, 2011, 5:20:38 PM12/19/11
to TaskJuggler Users
It's probably very simple but I didn't found the answer:
How to hide a specific task and all its childs from a taskreport (with
hidetask?)?

I guess that I have a general problem in understanding the logical
expressions and what may be the operands of it.

Thanks,
Thomas

Didier Spaier

unread,
Dec 20, 2011, 9:36:06 AM12/20/11
to TaskJuggler Users
On 19 déc, 23:20, ThomasHa <thomas.handz...@googlemail.com> wrote:
> How to hide a specific task and all its childs from a taskreport (with
> hidetask?)?

Let's suppose you have a task whose ID is A with some children and you
wrote :
-----
...
flags cacher
...
task A "ContainerA" {
flags cacher
..
{task FirstChildOfA "another_task" {
...
}
}
...
-----
You could write in your report:

hidetask (cacher | ischildof(A))

There may be simpler ways, but this is what I came up with.

Of course this will hide all tasks with the flag cacher, not only the
task A.

I noticed that ischildof(A) will hide the children of A as well as
their children.

PS "cacher" means "hide" in French ;)

Didier

Reply all
Reply to author
Forward
0 new messages