2010-12-23 Ramon Novoa <rnovoa@artica.es>

* operation/agentes/alerts_status.php: Fixed alert search
	  filters. Fixes bug #3140249.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-12-23 11:20:43 +00:00
parent 84d63139d0
commit 08854e15ca
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-12-23 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/alerts_status.php: Fixed alert search
filters. Fixes bug #3140249.
2010-12-22 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: cleaned source code style.

View File

@ -190,9 +190,8 @@ if($filter_standby == 'standby_on') {
$filter_alert['disabled'] = $filter;
$filter_alert['standby'] = '0';
}else {
$filter_alert = $filter;
$filter_alert['disabled'] = $filter;
}
$alerts['alerts_simple'] = get_agent_alerts_simple ($agents, $filter_alert, $options_simple, $whereAlertSimple, false, false, $idGroup);
$countAlertsSimple = get_agent_alerts_simple ($agents, $filter, false, $whereAlertSimple, false, false, $idGroup, true);