2010-09-08 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.list.php: fixed the pagination when the list of alerts show into alert tab in agent config page. Fixes: #3055920 * godmode/alerts/alert_list.php: cleaned source code. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3228 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
52d3ef4ee2
commit
38b98cf058
|
@ -1,3 +1,12 @@
|
|||
2010-09-08 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/alerts/alert_list.list.php: fixed the pagination when the list of
|
||||
alerts show into alert tab in agent config page.
|
||||
|
||||
Fixes: #3055920
|
||||
|
||||
* godmode/alerts/alert_list.php: cleaned source code.
|
||||
|
||||
2010-09-08 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions_reporting.php,
|
||||
|
|
|
@ -224,7 +224,12 @@ switch ($sortField) {
|
|||
break;
|
||||
}
|
||||
|
||||
pagination ($total, 'index.php?sec=gagente&sec2=godmode/alerts/alert_list');
|
||||
if ($id_agente) {
|
||||
pagination ($total, 'index.php?sec=gagente&sec2=godmode/agentes/configurar_agente&tab=alert&id_agente=' . $id_agente);
|
||||
}
|
||||
else {
|
||||
pagination ($total, 'index.php?sec=gagente&sec2=godmode/alerts/alert_list');
|
||||
}
|
||||
$simple_alerts = get_agent_alerts_simple (array_keys ($agents), false,
|
||||
array ('offset' => (int) get_parameter ('offset'),
|
||||
'limit' => $config['block_size'], 'order' => $order), $where, false);
|
||||
|
|
|
@ -151,7 +151,6 @@ if ($disable_alert) {
|
|||
$messageAction = print_result_message ($result, __('Successfully disabled'), __('Could not be disabled'), '', true);
|
||||
}
|
||||
|
||||
// Header
|
||||
if ($id_agente) {
|
||||
$agents = array ($id_agente => get_agent_name ($id_agente));
|
||||
|
||||
|
|
Loading…
Reference in New Issue