If an activity has a direct target, then its parent (and grandparent) activities will have that as an indirect target . The child activities do not inherit targets from their parents and grandparents. (1-way flow, only upwards)
only activities of type task, outreach plan "OP" or advocacy plan "AP" have targets
APs < OPs < tasks and AP < tasks(where "<" means "each parent on the left can have many on the right")
"events" can also technically be "parents" of "tasks" but they cannot have targets itself. also I think their relationship is better understood as "belongs to". overall I am not sure if that would make much sense for events to "inherit" targets of associated tasks
this is relevant for the following views
single views
single action views (plans and tasks only)
[x] "targets" tab: include targets of child activities as option?
[x] task view: no changes as can not have children
[x] outreach plan view: include targets of its tasks
[x] advocacy plan view: include targets of its outreach plans (and ideally also their tasks)
single actor views
TODO: revise
[x] "targeted by" tab: include tasks of plans, actor is targeted by? (that is in addition to tasks it is directly targeted with)
related to