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:
Fabian Ebner 2021-12-07 12:53:30 +01:00 committed by Thomas Lamprecht
parent e06715d2e5
commit 1025802ef1
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ Ext.define('Proxmox.panel.AuthView', {
model: 'pmx-domains',
sorters: {
property: 'realm',
order: 'DESC',
direction: 'ASC',
},
},

View File

@ -45,7 +45,7 @@ Ext.define('Proxmox.window.ACMEAccountCreate', {
proxy: { type: 'proxmox' },
sorters: {
property: 'name',
order: 'ASC',
direction: 'ASC',
},
},
listConfig: {