aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/LichfieldDC.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/LichfieldDC.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/LichfieldDC.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/LichfieldDC.pm b/perllib/FixMyStreet/Cobrand/LichfieldDC.pm
index 804289d34..014981daf 100644
--- a/perllib/FixMyStreet/Cobrand/LichfieldDC.pm
+++ b/perllib/FixMyStreet/Cobrand/LichfieldDC.pm
@@ -12,7 +12,10 @@ sub council_url { return 'lichfielddc'; }
# Different to councils parent due to this being a two-tier council. If we get
# more, this can be genericised in the parent.
sub site_restriction {
- return ( "and council like '%2434%'", 'lichfield', { council => '2434' } );
+ return ( 'lichfield', { council => '2434' } );
+}
+sub sql_restriction {
+ return "and council like '%2434%'";
}
sub problems_clause {