]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
fix #4393: ui: storage backup view: make pbs-specific columns sortable
authorStefan Hanreich <s.hanreich@proxmox.com>
Fri, 16 Dec 2022 12:45:06 +0000 (13:45 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 16 Jan 2023 13:04:22 +0000 (14:04 +0100)
commitfdde857a890cf02ef55d5cea9c825dce271c7fbf
tree424600aedd4fdf995a858eef85d2cc41dda1fd58
parent485e5106948e6951039766dbfd42de3b95ad11b5
fix #4393: ui: storage backup view: make pbs-specific columns sortable

The sort order is analogous to how it behaves in the datastore content
overview in pbs.

This means sorting in ascending order behaves as follows:

Verify State
* failed
* none
* ok

Encryption
* no
* yes

For the encryption state there is theoretically a distinction between
signed and encrypted, but as far as I can tell we do not render this
distinction in PVE, which is why I chose to not make this distinction
for sorting as well.

Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
www/manager6/Utils.js
www/manager6/storage/BackupView.js