We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f87853 commit c83282bCopy full SHA for c83282b
datamodels/2.x/itop-portal-base/portal/src/Controller/ObjectController.php
@@ -1394,8 +1394,12 @@ public function GetInformationForLinkedSetAsJsonAction(Request $oRequest)
1394
$sValue = $oFieldOutput->GetHtml();
1395
}
1396
$aObjectData['attributes']['lnk__'.$sAttCode] = [
1397
- 'att_code' => $sAttCode,
1398
- 'value' => $sValue,
+ 'object_class' => $sLinkClass,
+ 'object_id' => $oNewLink->GetKey(),
1399
+ 'prefix' => 'lnk__',
1400
+ 'attribute_code' => $sAttCode,
1401
+ 'attribute_type' => get_class($oAttDef),
1402
+ 'value_html' => $sValue,
1403
'css_inline' => $oFieldOutput->GetCss(),
1404
'js_inline' => $oFieldOutput->GetJs(),
1405
];
0 commit comments