Merge branch 'ent-11379-15676-reinicio-de-filtro-os-desde-administracion-de-agentes-al-realziar-una-accion-sobre-el' into 'develop'

Ent 11379 15676 reinicio de filtro os desde administracion de agentes al realziar una accion sobre el

See merge request artica/pandorafms!5983
This commit is contained in:
Matias Didier 2023-06-30 10:42:02 +00:00
commit 0e0dd311e7
1 changed files with 3 additions and 2 deletions

View File

@ -929,7 +929,7 @@ if ($agents !== false) {
[ [
'href' => ui_get_full_url( 'href' => ui_get_full_url(
sprintf( sprintf(
'index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&%s_agent=%s&group_id=%s&recursion=%s&search=%s&offset=%s&sort_field=%s&sort=%s&disabled=%s', 'index.php?sec=gagente&sec2=godmode/agentes/modificar_agente&%s_agent=%s&group_id=%s&recursion=%s&search=%s&offset=%s&sort_field=%s&sort=%s&disabled=%s&os=%s',
$agentDisableEnableAction, $agentDisableEnableAction,
$agent['id_agente'], $agent['id_agente'],
$ag_group, $ag_group,
@ -938,7 +938,8 @@ if ($agents !== false) {
'', '',
$sortField, $sortField,
$sort, $sort,
$disabled $disabled,
$os
) )
), ),
'onClick' => ($agent['id_os'] === CLUSTER_OS_ID) ? sprintf('if (!confirm(\'%s\')) return false', $agentDisableEnableCaption) : 'return true;', 'onClick' => ($agent['id_os'] === CLUSTER_OS_ID) ? sprintf('if (!confirm(\'%s\')) return false', $agentDisableEnableCaption) : 'return true;',