Merge branch 'ent-7547-Tree-view-no-filtra-bien-Dashboard' into 'develop'
Ent 7547 tree view no filtra bien dashboard See merge request artica/pandorafms!4136
This commit is contained in:
commit
f134377b37
|
@ -1126,6 +1126,7 @@ class Tree
|
|||
$agent_search_filter
|
||||
$agent_status_filter
|
||||
$module_search_filter
|
||||
$module_status_filter
|
||||
$tag_condition
|
||||
GROUP BY tam.id_agente_modulo
|
||||
ORDER BY tam.nombre ASC, tam.id_agente_modulo ASC";
|
||||
|
|
|
@ -418,28 +418,30 @@ class TreeViewWidget extends Widget
|
|||
AGENT_MODULE_STATUS_NOT_INIT => __('Not init'),
|
||||
];
|
||||
|
||||
$inputs[] = [
|
||||
'label' => __('Modules status'),
|
||||
'arguments' => [
|
||||
'type' => 'select',
|
||||
'fields' => $fields,
|
||||
'name' => 'moduleStatus',
|
||||
'selected' => $values['moduleStatus'],
|
||||
'return' => true,
|
||||
],
|
||||
];
|
||||
if (is_metaconsole() === false) {
|
||||
$inputs[] = [
|
||||
'label' => __('Modules status'),
|
||||
'arguments' => [
|
||||
'type' => 'select',
|
||||
'fields' => $fields,
|
||||
'name' => 'moduleStatus',
|
||||
'selected' => $values['moduleStatus'],
|
||||
'return' => true,
|
||||
],
|
||||
];
|
||||
|
||||
// Filter modules.
|
||||
$inputs[] = [
|
||||
'label' => __('Filter modules'),
|
||||
'arguments' => [
|
||||
'name' => 'filterModule',
|
||||
'type' => 'text',
|
||||
'value' => $values['filterModule'],
|
||||
'return' => true,
|
||||
'size' => 0,
|
||||
],
|
||||
];
|
||||
// Filter modules.
|
||||
$inputs[] = [
|
||||
'label' => __('Filter modules'),
|
||||
'arguments' => [
|
||||
'name' => 'filterModule',
|
||||
'type' => 'text',
|
||||
'value' => $values['filterModule'],
|
||||
'return' => true,
|
||||
'size' => 0,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
return $inputs;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue