]> git.proxmox.com Git - pve-cluster.git/commitdiff
datacenter config: add 'case-sensitive' option to to 'tag-styles'
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Nov 2022 07:32:08 +0000 (08:32 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 21 Nov 2022 07:33:37 +0000 (08:33 +0100)
defaults to off, but admins that want that can turn it on easily

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/DataCenterConfig.pm

index 925670dd8b81ffbffbc83dfaec9e9510d88918a4..6bd47b1e7c5ba612bb5484fb704db7faf9b0fe53 100644 (file)
@@ -169,8 +169,14 @@ my $tag_style_format = {
        type => 'string',
        enum => ['config', 'alphabetical'],
        default => 'alphabetical',
-       description => 'Controls the sorting of the tags in the web ui.',
-    }
+       description => 'Controls the sorting of the tags in the web-interface and the API update.',
+    },
+    'case-sensitive' => {
+       type => 'boolean',
+       description => 'Controls if filtering for unique tags on update should check case-sensitive.',
+       optional => 1,
+       default => 0,
+    },
 };
 
 my $user_tag_privs_format = {