[pve-devel] [PATCH manager 1/2] Ceph/Monitor: sort monitors after name
Thomas Lamprecht
t.lamprecht at proxmox.com
Tue Sep 27 15:41:33 CEST 2016
we get the entries random else, which is unintuitive.
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
www/manager6/ceph/Monitor.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/www/manager6/ceph/Monitor.js b/www/manager6/ceph/Monitor.js
index 1c8b6cf..8f2c98f 100644
--- a/www/manager6/ceph/Monitor.js
+++ b/www/manager6/ceph/Monitor.js
@@ -71,7 +71,10 @@ Ext.define('PVE.node.CephMonList', {
}
});
- var store = Ext.create('PVE.data.DiffStore', { rstore: rstore });
+ var store = Ext.create('PVE.data.DiffStore', {
+ rstore: rstore,
+ sorters: [{ property: 'name'}]
+ });
PVE.Utils.monStoreErrors(me, rstore);
--
2.1.4
More information about the pve-devel
mailing list