Merge branch 'ent-9808-Derivado-del-trabajo-Q-A-766-AP1-1-0-PFMS-parametro-tags-de-get-events-devuelve-cero-eventos-a-pesar-que-existen-datos' into 'develop'

fixed api get events

Ref pandora_enterprise#9808

See merge request artica/pandorafms!5269
This commit is contained in:
Jimmy Olano 2022-11-19 01:06:52 +00:00
commit 0da91d6372
1 changed files with 1 additions and 1 deletions

View File

@ -11334,7 +11334,7 @@ function api_get_events($node_id, $trash2, $other, $returnType)
'status' => (isset($other['data'][8]) === true) ? $other['data'][8] : null, 'status' => (isset($other['data'][8]) === true) ? $other['data'][8] : null,
'search' => (isset($other['data'][9]) === true) ? $other['data'][9] : null, 'search' => (isset($other['data'][9]) === true) ? $other['data'][9] : null,
'id_group_filter' => (isset($other['data'][13]) === true) ? $other['data'][13] : null, 'id_group_filter' => (isset($other['data'][13]) === true) ? $other['data'][13] : null,
'tag_with' => (isset($other['data'][14]) === true) ? $other['data'][14] : null, 'tag_with' => (isset($other['data'][14]) === true) ? base64_encode(io_safe_output($other['data'][14])) : null,
'event_type' => (isset($other['data'][15]) === true) ? $other['data'][15] : null, 'event_type' => (isset($other['data'][15]) === true) ? $other['data'][15] : null,
'id_server' => $node_id, 'id_server' => $node_id,
]; ];