Merge branch 'ent-7678-treeview-modules-no-funciona' into 'develop'

Fix treeview modules sql inner condition

See merge request artica/pandorafms!4195
This commit is contained in:
Daniel Rodriguez 2021-06-11 08:44:44 +00:00
commit 81c2ebc43b
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@ class TreeModule extends Tree
$this->L1fieldNameSql = 'tam.nombre';
$this->L1inner = '';
$this->L1orderByFinal = 'name';
$this->L1innerInside = 'INNER JOIN tagente_modulo tam
ON ta.id_agente = tam.id_agente';
$this->L2condition = "AND tam.nombre = '".$this->symbol2name($this->rootID)."'";
}