Assigned tasks on user pages
The list of tasks assigned to an user will now appear on the page of the assignee, minus the 'Assigned to' part because that'd be redundant.
This commit is contained in:
parent
634ed8f5ee
commit
f7bf8c469a
4 changed files with 21 additions and 6 deletions
includes/t-tasks
|
@ -95,8 +95,9 @@ class View_TasksList
|
|||
return;
|
||||
}
|
||||
|
||||
$item = Loader::DAO( 'items' )->get( $task->item );
|
||||
$lineage = $item->lineage;
|
||||
$itemsDao = Loader::DAO( 'items' );
|
||||
$item = $itemsDao->get( $task->item );
|
||||
$lineage = $itemsDao->getLineage( $item );
|
||||
array_push( $lineage , $item->id );
|
||||
|
||||
$contents = array( );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue