This commit is contained in:
José González 2021-07-13 18:18:36 +02:00
parent 3263ef8b9a
commit 9695d62424
1 changed files with 3 additions and 1 deletions

View File

@ -270,7 +270,7 @@ class WuxStatsWidget extends Widget
'label' => __('Wux transaction'), 'label' => __('Wux transaction'),
'arguments' => [ 'arguments' => [
'type' => 'autocomplete_module', 'type' => 'autocomplete_module',
'fields' => $fields, 'fields' => [],
'name' => 'transactionId', 'name' => 'transactionId',
'selected' => $values['transactionId'], 'selected' => $values['transactionId'],
'return' => true, 'return' => true,
@ -326,6 +326,7 @@ class WuxStatsWidget extends Widget
{ {
global $config; global $config;
$server_id = ($this->values['node'] ?? '0');
$id_agent = $this->values['agentId']; $id_agent = $this->values['agentId'];
$transaction = $this->values['transactionId']; $transaction = $this->values['transactionId'];
$view_all_stats = $this->values['allStats']; $view_all_stats = $this->values['allStats'];
@ -340,6 +341,7 @@ class WuxStatsWidget extends Widget
false false
), ),
'page' => 'enterprise/include/ajax/wux_transaction.ajax', 'page' => 'enterprise/include/ajax/wux_transaction.ajax',
'server_id' => $server_id,
'id_agent' => $id_agent, 'id_agent' => $id_agent,
'transaction' => $transaction, 'transaction' => $transaction,
'view_all_stats' => $view_all_stats, 'view_all_stats' => $view_all_stats,