2010-11-03 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php: Order results before calculating the SLA. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3503 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
e846299ce7
commit
b7ac5bae65
|
@ -1,3 +1,8 @@
|
|||
2010-11-03 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* include/functions_reporting.php: Order results before calculating
|
||||
the SLA.
|
||||
|
||||
2010-11-03 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* include/functions_modules.php
|
||||
|
|
|
@ -429,7 +429,7 @@ function get_agentmodule_sla ($id_agent_module, $period = 0, $min_value = 1, $ma
|
|||
if (!empty($timeTo)) {
|
||||
$sql .= ' AND TIME(FROM_UNIXTIME(utimestamp)) <= "' . $timeTo . '"';
|
||||
}
|
||||
|
||||
$sql .= ' ORDER BY utimestamp ASC';
|
||||
$interval_data = get_db_all_rows_sql ($sql, true);
|
||||
if ($interval_data === false) $interval_data = array ();
|
||||
|
||||
|
|
Loading…
Reference in New Issue