prune sim: fix #3192: by fixing usage of sort()

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2020-12-15 13:01:33 +01:00 committed by Thomas Lamprecht
parent 205e187613
commit f6ce45b373

View File

@ -452,7 +452,7 @@ Ext.onReady(function() {
// ordering here and iterating backwards through days
// ensures that everything is ordered
timesOnSingleDay.sort(function(a, b) {
return a < b;
return b - a;
});
let backups = [];