diff options
author | Struan Donald <struan@exo.org.uk> | 2019-08-14 16:10:46 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-08-23 15:25:05 +0100 |
commit | 027f1b20a4a6b9c9b9e02b2f2b5e83aa49a335df (patch) | |
tree | c696be77f7e3014fdc1fbc079a53ac10034602d4 /t/app/controller/admin/reportextrafields.t | |
parent | 8efd1df253b96d6de5d5847d3e13b7649a5d707d (diff) |
[Open311] Add 'protected' category extra flag.
If an extra field on a category has a protected flag then do not
overwrite or remove it when populating categories.
Diffstat (limited to 't/app/controller/admin/reportextrafields.t')
-rw-r--r-- | t/app/controller/admin/reportextrafields.t | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/app/controller/admin/reportextrafields.t b/t/app/controller/admin/reportextrafields.t index e02df864f..6011b13e3 100644 --- a/t/app/controller/admin/reportextrafields.t +++ b/t/app/controller/admin/reportextrafields.t @@ -78,6 +78,7 @@ FixMyStreet::override_config { code => "string_test", required => "true", variable => "true", + protected => "false", description => "this is a test description", datatype_description => "hint here", datatype => "string", @@ -106,6 +107,7 @@ FixMyStreet::override_config { code => "list_test", required => "false", variable => "true", + protected => "false", description => "this field is a list", datatype_description => "", datatype => "singlevaluelist", @@ -142,6 +144,7 @@ FixMyStreet::override_config { description => '', required => 'false', variable => 'true', + protected => 'false', code => 'POT', automated => 'server_set' } ], "automated fields not unset"; @@ -177,6 +180,7 @@ FixMyStreet::override_config { code => "string_test", required => "true", variable => "true", + protected => "false", description => "this is a test description", datatype_description => "hint here", datatype => "string", @@ -204,6 +208,7 @@ FixMyStreet::override_config { code => "list_test", required => "false", variable => "true", + protected => "false", description => "this field is a list", datatype_description => "", datatype => "singlevaluelist", @@ -233,6 +238,7 @@ FixMyStreet::override_config { code => "automated_test", required => "false", variable => "true", + protected => "false", description => "", datatype_description => "", datatype => "string", |