feat(xo-web): sort VMs by start time (#3970)

Fixes #3955
This commit is contained in:
Enishowk
2019-02-15 10:09:53 +01:00
committed by Pierre Donias
parent 6332355031
commit d90b85204d
3 changed files with 7 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
### Enhancements
- [VM migration] Display same-pool hosts first in the selector [#3262](https://github.com/vatesfr/xen-orchestra/issues/3262) (PR [#3890](https://github.com/vatesfr/xen-orchestra/pull/3890))
- [Home/VM] Sort VM by start time [#3955](https://github.com/vatesfr/xen-orchestra/issues/3955) (PR [#3970](https://github.com/vatesfr/xen-orchestra/pull/3970))
### Bug fixes

View File

@@ -182,6 +182,7 @@ const messages = {
homeFilterTags: 'Tags',
homeSortBy: 'Sort by',
homeSortByCpus: 'CPUs',
homeSortByStartTime: 'Start time',
homeSortByName: 'Name',
homeSortByPowerstate: 'Power state',
homeSortByRAM: 'RAM',

View File

@@ -206,6 +206,11 @@ const OPTIONS = {
sortBy: 'container.name_label',
sortOrder: 'asc',
},
{
labelId: 'homeSortByStartTime',
sortBy: 'startTime',
sortOrder: 'desc',
},
],
},
pool: {