Skip to content

Commit

Permalink
Issue #1107: Fix bug when sorting the 'Used' column in the file syste…
Browse files Browse the repository at this point in the history
…m table

Use the 'percentage' property for sorting because this is a numeric value instead of a string like '2.43 TiB'.

Fixes: #1107
Signed-off-by: Volker Theile <votdev@gmx.de>
  • Loading branch information
votdev committed Oct 2, 2021
1 parent c6ee506 commit d858129
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deb/openmediavault/debian/changelog
@@ -1,6 +1,6 @@
openmediavault (5.6.17-1) stable; urgency=low

* Issue #1107: Disable sorting of the 'Used' column in the
* Issue #1107: Fix bug when sorting the 'Used' column in the
file system table.

-- Volker Theile <volker.theile@openmediavault.org> Fri, 01 Oct 2021 16:50:25 +0200
Expand Down
Expand Up @@ -442,8 +442,8 @@ Ext.define("OMV.module.admin.storage.filesystem.Filesystems", {
stateId: "available"
},{
text: _("Used"),
sortable: false,
dataIndex: "used",
sortable: true,
dataIndex: "percentage",
stateId: "used",
align: "center",
renderer: function(value, metaData, record) {
Expand Down

0 comments on commit d858129

Please sign in to comment.