From 3c9b7f15dc9ac9231ab88c0242d37704a8bfca52 Mon Sep 17 00:00:00 2001 From: Hakim Cassimally Date: Fri, 10 Oct 2014 11:18:45 +0000 Subject: ESCC. bodies_clause specialisation patch for https://github.com/mysociety/FixMyStreet-Commercial/issues/603 more generic fix to follow --- perllib/FixMyStreet/Cobrand/EastSussex.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/perllib/FixMyStreet/Cobrand/EastSussex.pm b/perllib/FixMyStreet/Cobrand/EastSussex.pm index 5081d13e8..c0965037c 100644 --- a/perllib/FixMyStreet/Cobrand/EastSussex.pm +++ b/perllib/FixMyStreet/Cobrand/EastSussex.pm @@ -10,6 +10,14 @@ sub council_name { return 'East Sussex County Council'; } sub council_url { return 'eastsussex'; } sub is_two_tier { return 1; } +# Different to councils parent due to this being a two-tier council. +# This is now specialised for Hart, Oxfordshire, ESCC, and should +# be genericised in the parent... +# see https://github.com/mysociety/FixMyStreet-Commercial/issues/603 +sub problems_clause { + return { bodies_str => { like => '%2224%' } }; +} + sub path_to_web_templates { my $self = shift; return [ -- cgit v1.2.3