feat(xo-web/VM/disks): sort disks by device by default (#5165)
Fixes #5163
This commit is contained in:
parent
0740630e05
commit
43aa0b815d
@ -8,6 +8,7 @@
|
||||
> Users must be able to say: “Nice enhancement, I'm eager to test it”
|
||||
|
||||
- Log the `Invalid XML-RPC message` error as an unexpected response (PR [#5138](https://github.com/vatesfr/xen-orchestra/pull/5138))
|
||||
- [VM/disks] By default, sort disks by their device position instead of their name [#5163](https://github.com/vatesfr/xen-orchestra/issues/5163) (PR [#5165](https://github.com/vatesfr/xen-orchestra/pull/5165))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
@ -32,4 +33,4 @@
|
||||
>
|
||||
> In case of conflict, the highest (lowest in previous list) `$version` wins.
|
||||
|
||||
- xo-web patch
|
||||
- xo-web minor
|
||||
|
@ -113,7 +113,6 @@ const COLUMNS_VM_PV = [
|
||||
),
|
||||
name: _('vdiNameLabel'),
|
||||
sortCriteria: 'vdi.name_label',
|
||||
default: true,
|
||||
},
|
||||
{
|
||||
itemRenderer: ({ vdi }) => (
|
||||
@ -141,9 +140,10 @@ const COLUMNS_VM_PV = [
|
||||
sortCriteria: ({ vdiSr }) => vdiSr !== undefined && vdiSr.name_label,
|
||||
},
|
||||
{
|
||||
default: true,
|
||||
itemRenderer: vbd => <span>{vbd.device}</span>,
|
||||
name: _('vbdDevice'),
|
||||
sortCriteria: 'device',
|
||||
sortCriteria: vbd => +vbd.position,
|
||||
},
|
||||
{
|
||||
itemRenderer: vbd => (
|
||||
|
Loading…
Reference in New Issue
Block a user