Fixed used column sorting

This commit is contained in:
laf
2015-05-18 12:04:44 +01:00
parent 1d4ae186ab
commit ec833e88cd
2 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ foreach (dbFetchRows($sql,$param) as $drive) {
'storage_descr' => $drive['storage_descr'],
'graph' => $mini_graph,
'storage_size' => $bar_link,
'storage_used' => $perc . "%");
'storage_perc' => $perc . "%");
if ($_POST['view'] == "graphs") {
$graph_array['height'] = "100";
$graph_array['width'] = "216";
@ -83,10 +83,10 @@ foreach (dbFetchRows($sql,$param) as $drive) {
'storage_descr' => $graph_data[1],
'graph' => $graph_data[2],
'storage_size' => $graph_data[3],
'storage_used' => '');
'storage_perc' => '');
} # endif graphs
}
$output = array('current'=>$current,'rowCount'=>$rowCount,'rows'=>$response,'total'=>$total);
echo _json_encode($output);
echo _json_encode($output);