diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-05-07 14:20:19 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-05-07 14:20:19 +0100 |
commit | cfabb3cfd4474c1c812ed325a068d56bafc43a08 (patch) | |
tree | ec610c101b45e4e2fcd7ad51673a24bd1ae126cd /perllib/FixMyStreet/DB/ResultSet/Contact.pm | |
parent | f6d807fd5217a19ac488f652d1f0853a7891231f (diff) | |
parent | a2cc36b0d94143d1150a73993541eb829bd9b9fa (diff) |
Merge branch 'category-group-in-csv'
Diffstat (limited to 'perllib/FixMyStreet/DB/ResultSet/Contact.pm')
-rw-r--r-- | perllib/FixMyStreet/DB/ResultSet/Contact.pm | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/perllib/FixMyStreet/DB/ResultSet/Contact.pm b/perllib/FixMyStreet/DB/ResultSet/Contact.pm index 801d20cc0..3aceee9e7 100644 --- a/perllib/FixMyStreet/DB/ResultSet/Contact.pm +++ b/perllib/FixMyStreet/DB/ResultSet/Contact.pm @@ -90,13 +90,4 @@ sub summary_count { ); } -sub group_lookup { - my $rs = shift; - map { - my $group = $_->get_extra_metadata('group') || ''; - $group = join(',', ref $group ? @$group : $group); - $_->category => $group - } $rs->all; -} - 1; |