mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 11:29:12 +02:00
#7555 fixed module_search with filter
This commit is contained in:
parent
f3eb560518
commit
9559a63c3b
@ -535,6 +535,15 @@ class EventsListWidget extends Widget
|
|||||||
$filter['tag_without'] = base64_encode(
|
$filter['tag_without'] = base64_encode(
|
||||||
json_encode($filter['tag_without'])
|
json_encode($filter['tag_without'])
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!empty($filter['id_agent_module'])) {
|
||||||
|
$name = \modules_get_modules_name(
|
||||||
|
' FROM tagente_modulo',
|
||||||
|
' WHERE id_agente_modulo = '.$filter['id_agent_module'],
|
||||||
|
is_metaconsole()
|
||||||
|
);
|
||||||
|
$filter['module_search'] = $name[0]['nombre'];
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// Filtering.
|
// Filtering.
|
||||||
$filter['event_view_hr'] = $hours;
|
$filter['event_view_hr'] = $hours;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user