proxmox-backup/www/datastore
Dominik Csapak 40ff84b138 ui: fix order of prune keep reasons
two things wrong with the old code:
 * the sort function wants -1, 0 and 1 as a return value for a<b, a==b and a>b
   respectively, not a bool (which a < b returns)
 * we have to sort the newest backups first, since the first reason is
   'keep-last'. until now, we sorted the oldest backup first, resulting
   in the older backups getting the 'keep-last' reason

reported by a user in the forum:
https://forum.proxmox.com/threads/prune-ui-and-prune-schedule-simulator-dont-match.94944/

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-08-30 15:28:25 +02:00
..
Content.js ui: datastore/Content: add 'Prune All' button 2021-07-16 11:42:09 +02:00
DataStoreList.js ui: datastores: hide "no datastore" box by default 2020-11-16 16:59:14 +01:00
DataStoreListSummary.js ui: datastore/DataStoreListSummary: catch and show errors per datastore 2021-06-01 16:38:06 +02:00
Notes.js ui: improve comment behaviour for datastore Summary 2020-11-16 10:39:34 +01:00
OptionView.js ui: datastore/OptionView: only navigate up when we removed the datastore 2021-07-08 14:41:13 +02:00
Panel.js ui: improve activeTab selection from fragment and state 2020-11-10 14:21:54 +01:00
Prune.js ui: fix order of prune keep reasons 2021-08-30 15:28:25 +02:00
PruneAndGC.js ui: add/fix help buttons 2020-11-10 11:51:03 +01:00
Summary.js ui: window/Settings: add summarycolumns settings 2021-07-12 06:29:21 +02:00