[pve-devel] [PATCH] added sorter to bridge selection

tgrodzinski t.grodzinski at profihost.ag
Fri Sep 14 13:47:29 CEST 2012


Signed-off-by: tgrodzinski <t.grodzinski at profihost.ag>
---
 www/manager/form/BridgeSelector.js |    8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/www/manager/form/BridgeSelector.js b/www/manager/form/BridgeSelector.js
index 1cd818f..cae1d6d 100644
--- a/www/manager/form/BridgeSelector.js
+++ b/www/manager/form/BridgeSelector.js
@@ -27,7 +27,13 @@ Ext.define('PVE.form.BridgeSelector', {
 
 	var store = Ext.create('Ext.data.Store', {
 	    fields: [ 'iface', 'active', 'type' ],
-	    filterOnLoad: true
+	    filterOnLoad: true,
+	    sorters: [
+		{
+		    property : 'iface',
+		    direction: 'ASC'
+		}
+	    ]
 	});
 
 	Ext.apply(me, {
-- 
1.7.9.5



More information about the pve-devel mailing list