* [pmg-devel] [PATCH widget-toolkit] sorters: use correct property 'direction' and keep default 'ASC' @ 2021-12-07 11:53 Fabian Ebner 2021-12-07 11:53 ` [pmg-devel] [PATCH pmg-gui] " Fabian Ebner 2022-02-10 12:56 ` [pmg-devel] applied: [PATCH widget-toolkit] " Thomas Lamprecht 0 siblings, 2 replies; 4+ messages in thread From: Fabian Ebner @ 2021-12-07 11:53 UTC (permalink / raw) To: pmg-devel 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> --- I'll also send a patch for PVE later. PBS doesn't have this mistake anywhere AFAICS. src/panel/AuthView.js | 2 +- src/window/ACMEAccount.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panel/AuthView.js b/src/panel/AuthView.js index 781e84e..69fe1a5 100644 --- a/src/panel/AuthView.js +++ b/src/panel/AuthView.js @@ -39,7 +39,7 @@ Ext.define('Proxmox.panel.AuthView', { model: 'pmx-domains', sorters: { property: 'realm', - order: 'DESC', + direction: 'ASC', }, }, diff --git a/src/window/ACMEAccount.js b/src/window/ACMEAccount.js index 05278a8..cf16736 100644 --- a/src/window/ACMEAccount.js +++ b/src/window/ACMEAccount.js @@ -45,7 +45,7 @@ Ext.define('Proxmox.window.ACMEAccountCreate', { proxy: { type: 'proxmox' }, sorters: { property: 'name', - order: 'ASC', + direction: 'ASC', }, }, listConfig: { -- 2.30.2 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [pmg-devel] [PATCH pmg-gui] sorters: use correct property 'direction' and keep default 'ASC' 2021-12-07 11:53 [pmg-devel] [PATCH widget-toolkit] sorters: use correct property 'direction' and keep default 'ASC' Fabian Ebner @ 2021-12-07 11:53 ` Fabian Ebner 2022-02-03 11:33 ` [pmg-devel] applied: " Thomas Lamprecht 2022-02-10 12:56 ` [pmg-devel] applied: [PATCH widget-toolkit] " Thomas Lamprecht 1 sibling, 1 reply; 4+ messages in thread From: Fabian Ebner @ 2021-12-07 11:53 UTC (permalink / raw) To: pmg-devel 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 all affected sorters anyways. Signed-off-by: Fabian Ebner <f.ebner@proxmox.com> --- js/ActionList.js | 2 +- js/ClamAVDatabase.js | 2 +- js/LDAPConfig.js | 2 +- js/MailProxyTLSDestinations.js | 2 +- js/MyNetworks.js | 2 +- js/ObjectGroupList.js | 2 +- js/PBSConfig.js | 2 +- js/RelayDomains.js | 2 +- js/SpamDetectorStatus.js | 2 +- js/Transport.js | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/js/ActionList.js b/js/ActionList.js index bb13a5b..a94e3e1 100644 --- a/js/ActionList.js +++ b/js/ActionList.js @@ -31,7 +31,7 @@ Ext.define('PMG.ActionList', { }, sorters: { property: 'name', - order: 'DESC', + direction: 'ASC', }, }); diff --git a/js/ClamAVDatabase.js b/js/ClamAVDatabase.js index 884ffe1..d3f8e49 100644 --- a/js/ClamAVDatabase.js +++ b/js/ClamAVDatabase.js @@ -66,7 +66,7 @@ Ext.define('PMG.ClamAVDatabaseStatus', { }, sorters: { property: 'name', - order: 'DESC', + direction: 'ASC', }, }); diff --git a/js/LDAPConfig.js b/js/LDAPConfig.js index d7e4263..0a114ff 100644 --- a/js/LDAPConfig.js +++ b/js/LDAPConfig.js @@ -518,7 +518,7 @@ Ext.define('PMG.LDAPConfigGrid', { model: 'pmg-ldap-config', sorters: [{ property: 'profile', - order: 'DESC', + direction: 'ASC', }], }, diff --git a/js/MailProxyTLSDestinations.js b/js/MailProxyTLSDestinations.js index 0bdcc2a..04348c9 100644 --- a/js/MailProxyTLSDestinations.js +++ b/js/MailProxyTLSDestinations.js @@ -8,7 +8,7 @@ Ext.define('pmg-tls-policy', { }, sorters: { property: 'destination', - order: 'DESC', + direction: 'ASC', }, }); diff --git a/js/MyNetworks.js b/js/MyNetworks.js index 6c52f1a..975e21d 100644 --- a/js/MyNetworks.js +++ b/js/MyNetworks.js @@ -19,7 +19,7 @@ Ext.define('PMG.MyNetworks', { model: 'pmg-mynetworks', sorters: { property: 'cidr', - order: 'DESC', + direction: 'ASC', }, }); diff --git a/js/ObjectGroupList.js b/js/ObjectGroupList.js index 2e850e6..80dedc9 100644 --- a/js/ObjectGroupList.js +++ b/js/ObjectGroupList.js @@ -88,7 +88,7 @@ Ext.define('PMG.ObjectGroupList', { }, sorters: { property: 'name', - order: 'DESC', + direction: 'ASC', }, }); diff --git a/js/PBSConfig.js b/js/PBSConfig.js index 5e88574..3f09ccc 100644 --- a/js/PBSConfig.js +++ b/js/PBSConfig.js @@ -103,7 +103,7 @@ Ext.define('PMG.PBSConfigGrid', { model: 'pmg-pbs-config', sorters: [{ property: 'remote', - order: 'DESC', + direction: 'ASC', }], }, diff --git a/js/RelayDomains.js b/js/RelayDomains.js index 0098e20..ec43aa1 100644 --- a/js/RelayDomains.js +++ b/js/RelayDomains.js @@ -20,7 +20,7 @@ Ext.define('PMG.RelayDomains', { model: 'pmg-domains', sorters: { property: 'domain', - order: 'DESC', + direction: 'ASC', }, proxy: { type: 'proxmox', diff --git a/js/SpamDetectorStatus.js b/js/SpamDetectorStatus.js index 4b6d0fb..a0da9ff 100644 --- a/js/SpamDetectorStatus.js +++ b/js/SpamDetectorStatus.js @@ -94,7 +94,7 @@ Ext.define('PMG.SpamDetectorStatusGrid', { }, sorters: { property: 'name', - order: 'DESC', + direction: 'ASC', }, }); diff --git a/js/Transport.js b/js/Transport.js index 97a4aad..141fde1 100644 --- a/js/Transport.js +++ b/js/Transport.js @@ -20,7 +20,7 @@ Ext.define('PMG.Transport', { model: 'pmg-transport', sorters: { property: 'domain', - order: 'DESC', + direction: 'ASC', }, }); Proxmox.Utils.monStoreErrors(me, store, true); -- 2.30.2 ^ permalink raw reply [flat|nested] 4+ messages in thread
* [pmg-devel] applied: [PATCH pmg-gui] sorters: use correct property 'direction' and keep default 'ASC' 2021-12-07 11:53 ` [pmg-devel] [PATCH pmg-gui] " Fabian Ebner @ 2022-02-03 11:33 ` Thomas Lamprecht 0 siblings, 0 replies; 4+ messages in thread From: Thomas Lamprecht @ 2022-02-03 11:33 UTC (permalink / raw) To: Fabian Ebner, pmg-devel On 07.12.21 12:53, Fabian Ebner wrote: > 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 all affected sorters anyways. > > Signed-off-by: Fabian Ebner <f.ebner@proxmox.com> > --- > js/ActionList.js | 2 +- > js/ClamAVDatabase.js | 2 +- > js/LDAPConfig.js | 2 +- > js/MailProxyTLSDestinations.js | 2 +- > js/MyNetworks.js | 2 +- > js/ObjectGroupList.js | 2 +- > js/PBSConfig.js | 2 +- > js/RelayDomains.js | 2 +- > js/SpamDetectorStatus.js | 2 +- > js/Transport.js | 2 +- > 10 files changed, 10 insertions(+), 10 deletions(-) > > applied, thanks! ^ permalink raw reply [flat|nested] 4+ messages in thread
* [pmg-devel] applied: [PATCH widget-toolkit] sorters: use correct property 'direction' and keep default 'ASC' 2021-12-07 11:53 [pmg-devel] [PATCH widget-toolkit] sorters: use correct property 'direction' and keep default 'ASC' Fabian Ebner 2021-12-07 11:53 ` [pmg-devel] [PATCH pmg-gui] " Fabian Ebner @ 2022-02-10 12:56 ` Thomas Lamprecht 1 sibling, 0 replies; 4+ messages in thread From: Thomas Lamprecht @ 2022-02-10 12:56 UTC (permalink / raw) To: Fabian Ebner, pmg-devel On 07.12.21 12:53, Fabian Ebner wrote: > 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> > --- > > I'll also send a patch for PVE later. PBS doesn't have this mistake > anywhere AFAICS. > > src/panel/AuthView.js | 2 +- > src/window/ACMEAccount.js | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > applied, thanks! ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-02-10 12:57 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-12-07 11:53 [pmg-devel] [PATCH widget-toolkit] sorters: use correct property 'direction' and keep default 'ASC' Fabian Ebner 2021-12-07 11:53 ` [pmg-devel] [PATCH pmg-gui] " Fabian Ebner 2022-02-03 11:33 ` [pmg-devel] applied: " Thomas Lamprecht 2022-02-10 12:56 ` [pmg-devel] applied: [PATCH widget-toolkit] " Thomas Lamprecht
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox