N°2847 - Tranform old itop datatable to jquery DataTable - fix diplay

This commit is contained in:
acognet
2020-11-17 11:54:52 +01:00
parent 1c5cb4e125
commit 9621ff4d5e
3 changed files with 3 additions and 13 deletions

View File

@@ -410,7 +410,7 @@ try
$aObj[$sAlias."/".$sAttCode ] = $aObject[$sAlias]->GetKey();
}
else {
$aObj[$sAlias."/".$sAttCode ] = $aObject[$sAlias]->Get($sAttCode);
$aObj[$sAlias."/".$sAttCode ] = $aObject[$sAlias]->GetAsHTML($sAttCode);
}
}
}
@@ -420,7 +420,6 @@ try
}
array_push($aResult["data"], $aObj);
}
$oPage->add(json_encode($aResult));
$oKPI->ComputeAndReport('Data fetch and format');
break;