diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-21 17:59:35 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-03-21 17:59:57 +0000 |
commit | 96d6d115c68d5e0a4b23612aa630c3e0de98daa5 (patch) | |
tree | 93aa6300294959b9dff69c54c179bf0f2b851b74 /perllib/Open311/PopulateServiceList.pm | |
parent | 129de99f4c042cf9f9cb4a25cc3f5bb5c40077c3 (diff) |
Store server_set automated, but ignore for input.
We do need to store them, so that the sending knows which fields are being
requested, but we do not want them output to the client at all.
Diffstat (limited to 'perllib/Open311/PopulateServiceList.pm')
-rw-r--r-- | perllib/Open311/PopulateServiceList.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/perllib/Open311/PopulateServiceList.pm b/perllib/Open311/PopulateServiceList.pm index af89e3169..30d888eb4 100644 --- a/perllib/Open311/PopulateServiceList.pm +++ b/perllib/Open311/PopulateServiceList.pm @@ -267,8 +267,6 @@ sub _add_meta_to_contact { @meta = grep { ! $ignore{ $_->{ code } } } @meta; } - @meta = grep { !defined $_->{automated} || $_->{ automated } eq 'hidden_field' } @meta; - $contact->set_extra_fields(@meta); $contact->update; } |