prune sim: fix #3192: by fixing usage of sort()
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
205e187613
commit
f6ce45b373
@ -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 = [];
|
||||
|
Loading…
Reference in New Issue
Block a user