sort storage list by storage id

This commit is contained in:
Dietmar Maurer 2011-11-07 13:57:26 +01:00
parent 994c33c049
commit 823e701d1c

View File

@ -35,7 +35,11 @@ Ext.define('PVE.form.StorageSelector', {
me.nodename = undefined;
var store = Ext.create('Ext.data.Store', {
fields: [ 'storage', 'active', 'type', 'avail', 'total' ]
fields: [ 'storage', 'active', 'type', 'avail', 'total' ],
sorters: {
property: 'storage',
order: 'DESC'
}
});
Ext.apply(me, {