such that the admin can decide if the tags should be sorted in the gui Signed-off-by: Dominik Csapak <d.csa...@proxmox.com> --- new in v10 data/PVE/DataCenterConfig.pm | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/data/PVE/DataCenterConfig.pm b/data/PVE/DataCenterConfig.pm index ae138f9..658cfd9 100644 --- a/data/PVE/DataCenterConfig.pm +++ b/data/PVE/DataCenterConfig.pm @@ -152,6 +152,13 @@ my $tag_style_format = { typetext => '<tag>:<hex-color>[:<hex-color-for-text>][;<tag>=...]', description => "Manual color mapping for tags (semicolon separated).", }, + ordering => { + optional => 1, + type => 'string', + enum => ['config', 'alphabetical'], + default => 'config', + description => 'Controls the sorting of the tags in the web ui.', + } }; my $user_tag_privs_format = { -- 2.30.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel