[pve-devel] [PATCH manager 3/3] Make Cluster logs and Task panels sortable by columns

Emmanuel Kasper e.kasper at proxmox.com
Wed Aug 30 16:15:11 CEST 2017


This allow for instance to sort by Completion Status,
Username, Node.

It is possible to revert to the default sorting by using
the Reset Layout option in the User preferences.
---
 www/manager6/dc/Log.js   | 2 +-
 www/manager6/dc/Tasks.js | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/dc/Log.js b/www/manager6/dc/Log.js
index 64178137..b9b0d222 100644
--- a/www/manager6/dc/Log.js
+++ b/www/manager6/dc/Log.js
@@ -6,7 +6,7 @@ Ext.define('PVE.dc.Log', {
     extend: 'Ext.grid.GridPanel',
     alias: ['widget.pveClusterLog'],
     stateful: false,
-    sortableColumns: false,
+    sortableColumns: true,
 
     viewConfig: {
 	trackOver: false,
diff --git a/www/manager6/dc/Tasks.js b/www/manager6/dc/Tasks.js
index 793101f4..3f52ce59 100644
--- a/www/manager6/dc/Tasks.js
+++ b/www/manager6/dc/Tasks.js
@@ -5,7 +5,7 @@ Ext.define('PVE.dc.Tasks', {
     extend: 'Ext.grid.GridPanel',
     alias: ['widget.pveClusterTasks'],
     stateful: false,
-    sortableColumns: false,
+    sortableColumns: true,
 
     viewConfig: {
 	trackOver: false,
-- 
2.11.0




More information about the pve-devel mailing list