Skip to content

Commit

Permalink
fix(xo-web/health): make "Too many snapshots" table sortable by numbe…
Browse files Browse the repository at this point in the history
…r of snaphots (#6255)

See zammad#6439
  • Loading branch information
pdonias committed May 31, 2022
1 parent 0521266 commit ae0eb9e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
> Users must be able to say: “I had this issue, happy to know it's fixed”
- [load-balancer] Fix density mode failing to shutdown hosts (PR [#6253](https://github.com/vatesfr/xen-orchestra/pull/6253))
- [Health] Make "Too many snapshots" table sortable by number of snapshots (PR [#6255](https://github.com/vatesfr/xen-orchestra/pull/6255))

### Packages to release

Expand All @@ -31,5 +32,6 @@

- @xen-orchestra/xapi minor
- xo-server minor
- xo-web patch

<!--packages-end-->
1 change: 1 addition & 0 deletions packages/xo-web/src/xo-app/dashboard/health/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ const TOO_MANY_SNAPSHOT_COLUMNS = [
default: true,
name: _('numberOfSnapshots'),
itemRenderer: vm => vm.snapshots.length,
sortCriteria: vm => vm.snapshots.length,
sortOrder: 'desc',
},
]
Expand Down

0 comments on commit ae0eb9e

Please sign in to comment.