mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 23:08:46 +02:00
(Retrofit from trunk) Portal : Deadline attributes not displayed properly in ManageBrick
SVN:2.3[4432]
This commit is contained in:
@@ -28,6 +28,7 @@ use \MetaModel;
|
||||
use \AttributeDefinition;
|
||||
use \AttributeDate;
|
||||
use \AttributeDateTime;
|
||||
use \AttributeSubItem;
|
||||
use \DBSearch;
|
||||
use \DBObjectSearch;
|
||||
use \DBObjectSet;
|
||||
@@ -371,7 +372,7 @@ class ManageBrickController extends BrickController
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$oAttDef = MetaModel::GetAttributeDef($sCurrentClass, $sItemAttr);
|
||||
if ($oAttDef->IsExternalKey())
|
||||
{
|
||||
@@ -391,6 +392,10 @@ class ManageBrickController extends BrickController
|
||||
}
|
||||
}
|
||||
}
|
||||
elseif ($oAttDef instanceof AttributeSubItem)
|
||||
{
|
||||
$sValue = $oAttDef->GetAsHTML($oCurrentRow->Get($sItemAttr));
|
||||
}
|
||||
else
|
||||
{
|
||||
$sValue = $oAttDef->GetValueLabel($oCurrentRow->Get($sItemAttr));
|
||||
|
||||
Reference in New Issue
Block a user