mirror of
				https://git.proxmox.com/git/proxmox-widget-toolkit
				synced 2025-11-04 02:58:54 +00:00 
			
		
		
		
	sorters: use correct property 'direction' and keep default 'ASC'
Ext.util.Sorter does not have an 'order' property, so 'order: DESC' didn't have an effect. The default is 'ASC' and it is arguably the preferred direction for realm anyways. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
		
							parent
							
								
									e06715d2e5
								
							
						
					
					
						commit
						1025802ef1
					
				@ -39,7 +39,7 @@ Ext.define('Proxmox.panel.AuthView', {
 | 
			
		||||
	model: 'pmx-domains',
 | 
			
		||||
	sorters: {
 | 
			
		||||
	    property: 'realm',
 | 
			
		||||
	    order: 'DESC',
 | 
			
		||||
	    direction: 'ASC',
 | 
			
		||||
	},
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -45,7 +45,7 @@ Ext.define('Proxmox.window.ACMEAccountCreate', {
 | 
			
		||||
		proxy: { type: 'proxmox' },
 | 
			
		||||
		sorters: {
 | 
			
		||||
		    property: 'name',
 | 
			
		||||
		    order: 'ASC',
 | 
			
		||||
		    direction: 'ASC',
 | 
			
		||||
		},
 | 
			
		||||
	    },
 | 
			
		||||
	    listConfig: {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user