mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
Portal : Deadline attributes not displayed properly in ManageBrick
SVN:trunk[4431]
This commit is contained in:
@@ -28,6 +28,7 @@ use \MetaModel;
|
|||||||
use \AttributeDefinition;
|
use \AttributeDefinition;
|
||||||
use \AttributeDate;
|
use \AttributeDate;
|
||||||
use \AttributeDateTime;
|
use \AttributeDateTime;
|
||||||
|
use \AttributeSubItem;
|
||||||
use \DBSearch;
|
use \DBSearch;
|
||||||
use \DBObjectSearch;
|
use \DBObjectSearch;
|
||||||
use \DBObjectSet;
|
use \DBObjectSet;
|
||||||
@@ -389,7 +390,7 @@ class ManageBrickController extends BrickController
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$oAttDef = MetaModel::GetAttributeDef($sCurrentClass, $sItemAttr);
|
$oAttDef = MetaModel::GetAttributeDef($sCurrentClass, $sItemAttr);
|
||||||
if ($oAttDef->IsExternalKey())
|
if ($oAttDef->IsExternalKey())
|
||||||
{
|
{
|
||||||
@@ -409,6 +410,10 @@ class ManageBrickController extends BrickController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
elseif ($oAttDef instanceof AttributeSubItem)
|
||||||
|
{
|
||||||
|
$sValue = $oAttDef->GetAsHTML($oCurrentRow->Get($sItemAttr));
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$sValue = $oAttDef->GetValueLabel($oCurrentRow->Get($sItemAttr));
|
$sValue = $oAttDef->GetValueLabel($oCurrentRow->Get($sItemAttr));
|
||||||
|
|||||||
Reference in New Issue
Block a user