#12686 fixed filter in tree module tag
This commit is contained in:
parent
590c7f7480
commit
8f69c109d5
|
@ -304,7 +304,7 @@ class Tree
|
|||
}
|
||||
|
||||
$filter_status = '';
|
||||
if ((int) $this->filter['statusModule'] !== -1 && ($this->type === 'module' || $this->type === 'module_group')) {
|
||||
if ((int) $this->filter['statusModule'] !== -1 && ($this->type === 'module' || $this->type === 'module_group' || $this->type === 'tag')) {
|
||||
$filter_status = ' AND tae.estado = '.$this->filter['statusModule'];
|
||||
}
|
||||
|
||||
|
|
|
@ -29,6 +29,8 @@ class TreeTag extends Tree
|
|||
$this->L1innerInside = '
|
||||
INNER JOIN tagente_modulo tam
|
||||
ON ta.id_agente = tam.id_agente
|
||||
INNER JOIN tagente_estado tae
|
||||
ON tae.id_agente_modulo = tam.id_agente_modulo
|
||||
INNER JOIN ttag_module ttm
|
||||
ON ttm.id_agente_modulo = tam.id_agente_modulo
|
||||
';
|
||||
|
|
Loading…
Reference in New Issue