Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(xo-web/health): make "Too many snapshots" table sortable by number of snaphots #6255

Merged
merged 2 commits into from
May 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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