[pve-devel] [PATCH] fixed order of bridge devices

Dietmar Maurer dietmar at proxmox.com
Fri Sep 14 10:58:11 CEST 2012


>  	var store = Ext.create('Ext.data.Store', {
> -	    fields: [ 'iface', 'active', 'type' ],
> -	    filterOnLoad: true
> +		fields: [ 'iface', 'active', 'type' ],
> +		filterOnLoad: true
>  	});
> +	store.sort( 'iface', 'ASC' );

Also, seems you call 'sort' before you got any data, so you always sort an empty store?



More information about the pve-devel mailing list