#11379 fixed filter in agent list when use action
This commit is contained in:
parent
8807912c68
commit
206daabbd7
|
@ -929,7 +929,7 @@ if ($agents !== false) {
|
|||
[
|
||||
'href' => ui_get_full_url(
|
||||
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,
|
||||
$agent['id_agente'],
|
||||
$ag_group,
|
||||
|
@ -938,7 +938,8 @@ if ($agents !== false) {
|
|||
'',
|
||||
$sortField,
|
||||
$sort,
|
||||
$disabled
|
||||
$disabled,
|
||||
$os
|
||||
)
|
||||
),
|
||||
'onClick' => ($agent['id_os'] === CLUSTER_OS_ID) ? sprintf('if (!confirm(\'%s\')) return false', $agentDisableEnableCaption) : 'return true;',
|
||||
|
|
Loading…
Reference in New Issue