1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Feature #3264: Fix showback table ordering

This commit is contained in:
Carlos Martín 2014-11-12 11:52:23 +01:00
parent ab6450bfb2
commit 37912f4d83

View File

@ -4995,7 +4995,7 @@ function fillShowback(div, req, response) {
var showback_data = [];
$.each(vms_per_date, function(year, months){
$.each(months, function(month, value){
series.push([""+year+month, year, month, $months[month-1] + " " + year, value.TOTAL])
series.push([(new Date(year, month-1)).getTime(), year, month, $months[month-1] + " " + year, value.TOTAL])
showback_data.push([(new Date(year, month-1)), value.TOTAL.toFixed(2) ])
})
})