[pve-devel] [PATCH manager 1/2] gui: Backup/ContentView: add vmid to columns

Dominik Csapak d.csapak at proxmox.com
Fri Feb 21 11:02:10 CET 2020


this way one can sort by vmid

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/grid/BackupView.js     | 5 +++++
 www/manager6/storage/ContentView.js | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/www/manager6/grid/BackupView.js b/www/manager6/grid/BackupView.js
index 968b1d48..2f814d3f 100644
--- a/www/manager6/grid/BackupView.js
+++ b/www/manager6/grid/BackupView.js
@@ -205,6 +205,11 @@ Ext.define('PVE.grid.BackupView', {
 		    renderer: PVE.Utils.render_storage_content,
 		    dataIndex: 'volid'
 		},
+		{
+		    header: 'VMID',
+		    width: 100,
+		    dataIndex: 'vmid'
+		},
 		{
 		    header: gettext('Format'),
 		    width: 100,
diff --git a/www/manager6/storage/ContentView.js b/www/manager6/storage/ContentView.js
index ffd38fb9..34cadd2d 100644
--- a/www/manager6/storage/ContentView.js
+++ b/www/manager6/storage/ContentView.js
@@ -593,6 +593,11 @@ Ext.define('PVE.storage.ContentView', {
 		    width: 150,
 		    dataIndex: 'vdate'
 		},
+		{
+		    header: 'VMID',
+		    width: 100,
+		    dataIndex: 'vmid'
+		},
 		{
 		    header: gettext('Format'),
 		    width: 100,
-- 
2.20.1




More information about the pve-devel mailing list