also order health graphs by temperature index

git-svn-id: http://www.observium.org/svn/observer/trunk@1118 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2010-06-09 18:41:59 +00:00
parent fe24e07270
commit 353f0b2e46

View File

@ -6,7 +6,7 @@ $device = device_by_id_cache($id);
$rrd_options .= " -l 0 -E ";
$iter = "1";
$sql = mysql_query("SELECT * FROM temperature where device_id = '$id'");
$sql = mysql_query("SELECT * FROM temperature where device_id = '$id' ORDER BY temp_index");
$rrd_options .= " COMMENT:' Cur Min Max\\n'";
while($temperature = mysql_fetch_array($sql))
{