aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--perllib/FixMyStreet/DB/Result/Contact.pm3
2 files changed, 1 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 595768272..eeea670eb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -29,6 +29,7 @@
- Use relative report links where possible. #1995
- Improve inline checkbox spacing. #2411
- Prevent duplicate contact history creation with Unicode data.
+ - Show all Open311 extra fields in edit admin.
- Development improvements:
- Make front page cache time configurable.
- Better working of /fakemapit/ under https.
diff --git a/perllib/FixMyStreet/DB/Result/Contact.pm b/perllib/FixMyStreet/DB/Result/Contact.pm
index 4250a20c7..81f770f8f 100644
--- a/perllib/FixMyStreet/DB/Result/Contact.pm
+++ b/perllib/FixMyStreet/DB/Result/Contact.pm
@@ -96,10 +96,7 @@ sub category_display {
sub get_metadata_for_editing {
my $self = shift;
- my $id_field = $self->id_field;
my @metadata = @{$self->get_extra_fields};
- # First, ones we always want to ignore (hard-coded, old system)
- @metadata = grep { $_->{code} !~ /^(easting|northing|closest_address|$id_field)$/ } @metadata;
# Just in case the extra data is in an old parsed format
foreach (@metadata) {