[pve-devel] [PATCH manager] fix #1299: sort pools in poolselector by default

Dominik Csapak d.csapak at proxmox.com
Fri Mar 3 12:20:32 CET 2017


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 www/manager6/form/PoolSelector.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/www/manager6/form/PoolSelector.js b/www/manager6/form/PoolSelector.js
index 56ded50..4e7b2f3 100644
--- a/www/manager6/form/PoolSelector.js
+++ b/www/manager6/form/PoolSelector.js
@@ -10,7 +10,8 @@ Ext.define('PVE.form.PoolSelector', {
 	var me = this;
 
 	var store = new Ext.data.Store({
-	    model: 'pve-pools'
+	    model: 'pve-pools',
+	    sorters: 'poolid'
 	});
 
 	Ext.apply(me, {
-- 
2.1.4





More information about the pve-devel mailing list