[pve-devel] applied: [PATCH manager 1/3] ui: resource tree: fix order of types

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Nov 12 14:23:54 CET 2024


Am 12.11.24 um 12:45 schrieb Dominik Csapak:
> when ordering items on the same level, we often sort first by type, but
> do this via string comparison of the types.
> 
> this leads to weird results if we have e.g. lxc/node/qemu mixed in one
> list, as nodes would sort in between lxc and qemu
> 
> this patch solves that issue by introducing a fixed order for types, so
> we have direct control over the order when mixing types without having
> to change the type names.
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/tree/ResourceTree.js | 19 +++++++++++++++----
>  1 file changed, 15 insertions(+), 4 deletions(-)
> 
>

applied, thanks!




More information about the pve-devel mailing list