mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4346 - Restore HTML metadata (data-xxx) on lists in the backoffice
This commit is contained in:
@@ -11,6 +11,7 @@ use ApplicationContext;
|
||||
use ApplicationMenu;
|
||||
use AttributeLinkedSet;
|
||||
use AttributeOneWayPassword;
|
||||
use AttributeTagSet;
|
||||
use BinaryExpression;
|
||||
use BulkExport;
|
||||
use BulkExportException;
|
||||
@@ -32,6 +33,7 @@ use iTopExtension;
|
||||
use iTopExtensionsMap;
|
||||
use JsonPage;
|
||||
use MetaModel;
|
||||
use ormSet;
|
||||
use RunTimeEnvironment;
|
||||
use ScalarExpression;
|
||||
use SetupUtils;
|
||||
@@ -92,7 +94,11 @@ class AjaxRenderController
|
||||
|
||||
if (!$bExcludeRawValue) {
|
||||
$oRawValue = $aObject[$sAlias]->Get($sAttCode);
|
||||
$aObj[$sAlias."/".$sAttCode."/raw"] = $oRawValue;
|
||||
if($oRawValue instanceof AttributeTagSet or $oRawValue instanceof ormSet ){
|
||||
$aObj[$sAlias."/".$sAttCode."/raw"] = implode(", ", $oRawValue->GetValues());
|
||||
} else {
|
||||
$aObj[$sAlias."/".$sAttCode."/raw"] = $oRawValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
$sObjHighlightClass = $aObject[$sAlias]->GetHilightClass();
|
||||
|
||||
Reference in New Issue
Block a user