* [pbs-devel] [PATCH proxmox-backup] prune sim: fix #3192: by fixing usage of sort()
@ 2020-12-15 12:01 Fabian Ebner
2020-12-15 12:46 ` [pbs-devel] applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Fabian Ebner @ 2020-12-15 12:01 UTC (permalink / raw)
To: pbs-devel
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
---
docs/prune-simulator/prune-simulator.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/prune-simulator/prune-simulator.js b/docs/prune-simulator/prune-simulator.js
index 5533c2d6..fd68b796 100644
--- a/docs/prune-simulator/prune-simulator.js
+++ b/docs/prune-simulator/prune-simulator.js
@@ -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 = [];
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-15 12:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-15 12:01 [pbs-devel] [PATCH proxmox-backup] prune sim: fix #3192: by fixing usage of sort() Fabian Ebner
2020-12-15 12:46 ` [pbs-devel] applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox