Commit 6f80dec2 authored by Stefan Priebe's avatar Stefan Priebe Committed by Dietmar Maurer

Nodeselector: change default sort to name instead of mem

Signed-off-by: 's avatarStefan Priebe <s.priebe@profihost.ag>
parent 90cfcbe2
......@@ -19,14 +19,14 @@ Ext.define('PVE.form.NodeSelector', {
},
autoDestory: true,
sorters: [
{
property : 'node',
direction: 'ASC'
},
{
property : 'mem',
direction: 'DESC'
},
{
property : 'node',
direction: 'ASC'
}
]
});
......@@ -39,12 +39,14 @@ Ext.define('PVE.form.NodeSelector', {
{
header: 'Node',
dataIndex: 'node',
sortable: true,
hideable: false,
flex: 1
},
{
header: 'Memory usage',
renderer: PVE.Utils.render_mem_usage,
sortable: true,
width: 100,
dataIndex: 'mem'
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment