Feature/6154 - Change dict key (#490)

This commit is contained in:
bdalsass
2023-05-03 09:47:56 +02:00
committed by GitHub
parent 375677612d
commit e16a32bad2
5 changed files with 6 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ use Combodo\iTop\Application\UI\Base\Layout\UIContentBlock;
use CoreException;
use CoreWarning;
use DBObject;
use Dict;
use DictExceptionMissingString;
use DisplayBlock;
use Exception;
@@ -123,7 +124,7 @@ abstract class AbstractBlockLinkSetViewTable extends UIContentBlock
public function GetDictionaryEntry(string $sKey, DBObject $oDBObject = null)
{
return $this->oAttDef->SearchSpecificLabel($sKey, '', true,
$this->sObjectClass,
Dict::S("Class:{$this->sObjectClass}"),
$this->oDbObject->Get('friendlyname'),
$this->oAttDef->GetLabel(),
$this->sTargetClass,