"Add dependencies" implemented
A few bugs in the SQL scripts have been fixed. It is now possible to add new dependencies to a task from the details page.
This commit is contained in:
parent
60d4fe1199
commit
ba3fcc2470
8 changed files with 161 additions and 4 deletions
includes/t-data
|
@ -57,7 +57,7 @@ class DAO_Items
|
|||
public function getLineage( Data_Item $item )
|
||||
{
|
||||
if ( is_array( $item->lineage ) ) {
|
||||
return;
|
||||
return $item->lineage;
|
||||
}
|
||||
|
||||
$query = $this->query(
|
||||
|
@ -80,6 +80,7 @@ class DAO_Items
|
|||
array_push( $stack , $entry->item_id );
|
||||
}
|
||||
$item->lineage = $stack;
|
||||
return $item->lineage;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue