mirror of
https://github.com/Combodo/iTop.git
synced 2026-07-12 09:46:36 +02:00
WIP Correcting typos
This commit is contained in:
@@ -501,9 +501,9 @@ class AjaxRenderController
|
||||
$aColumnsLoad[$sAlias][] = $sAttCode;
|
||||
}
|
||||
|
||||
// Tree grouping: ensure the parent key attribute is loaded so JS can build parent-child links
|
||||
// Tree grouping: ensure the parent key attribute is loaded so the frontend can build parent-child links
|
||||
$sTreeGroupingAttr = $extraParams['tree_grouping_attr'] ?? '';
|
||||
if ($sTreeGroupingAttr !== ''
|
||||
if (utils::IsNotNullOrEmptyString($sTreeGroupingAttr)
|
||||
&& MetaModel::IsValidAttCode($sClassName, $sTreeGroupingAttr)
|
||||
&& !in_array($sTreeGroupingAttr, $aColumnsLoad[$sAlias])) {
|
||||
$aColumnsLoad[$sAlias][] = $sTreeGroupingAttr;
|
||||
|
||||
Reference in New Issue
Block a user