diff options
author | Hakim Cassimally <hakim@mysociety.org> | 2014-10-10 11:18:45 +0000 |
---|---|---|
committer | Hakim Cassimally <hakim@mysociety.org> | 2014-10-10 11:18:45 +0000 |
commit | 3c9b7f15dc9ac9231ab88c0242d37704a8bfca52 (patch) | |
tree | 267734e4bb979518bccd91452d5af7cbd077cc48 | |
parent | 779823461b9d06cc495bf415cfd3dbebc273414a (diff) |
ESCC. bodies_clause specialisation
patch for https://github.com/mysociety/FixMyStreet-Commercial/issues/603
more generic fix to follow
-rw-r--r-- | perllib/FixMyStreet/Cobrand/EastSussex.pm | 8 |
1 files changed, 8 insertions, 0 deletions
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 [ |