#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(
|
'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;',
|
||||||
|
|
Loading…
Reference in New Issue