mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
#564 Prompt for an update in a case log on a lifecycle transition. Can be retrofitted easily.
SVN:trunk[3687]
This commit is contained in:
@@ -2400,11 +2400,10 @@ EOF
|
|||||||
$iFieldIndex = 0;
|
$iFieldIndex = 0;
|
||||||
$aFieldsMap = array();
|
$aFieldsMap = array();
|
||||||
|
|
||||||
$aDetailsList =$this->FlattenZList(MetaModel::GetZListItems($sClass, 'details'));
|
|
||||||
// Order the fields based on their dependencies, set the fields for which there is only one possible value
|
// Order the fields based on their dependencies, set the fields for which there is only one possible value
|
||||||
// and perform this in the order of dependencies to avoid dead-ends
|
// and perform this in the order of dependencies to avoid dead-ends
|
||||||
$aDeps = array();
|
$aDeps = array();
|
||||||
foreach($aDetailsList as $sAttCode)
|
foreach(MetaModel::GetAttributesList($sClass) as $sAttCode)
|
||||||
{
|
{
|
||||||
$aDeps[$sAttCode] = MetaModel::GetPrequisiteAttributes($sClass, $sAttCode);
|
$aDeps[$sAttCode] = MetaModel::GetPrequisiteAttributes($sClass, $sAttCode);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user