From 208935e97fdaa50be69affe176028a8872395c69 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Mon, 6 Jul 2020 17:03:48 +0100 Subject: [Hackney] skip hackney categories for TfL red routes Because Hackney doesn't have any matching categories for TfL red routes skip sending the body, otherwise you get a "no contact details" message when you click on a red route in Hackney --- t/Mock/Tilma.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/Mock/Tilma.pm') diff --git a/t/Mock/Tilma.pm b/t/Mock/Tilma.pm index 7542b1f5e..b7ef2be2f 100644 --- a/t/Mock/Tilma.pm +++ b/t/Mock/Tilma.pm @@ -28,7 +28,7 @@ sub dispatch_request { sub (GET + /mapserver/tfl + ?*) { my ($self, $args) = @_; my $features = []; - if ($args->{Filter} =~ /540512,169141/) { + if ($args->{Filter} =~ /540512,169141|534371,185488/) { $features = [ { type => "Feature", properties => { HA_ID => "19" }, geometry => { type => "Polygon", coordinates => [ [ [ 539408.94, 170607.58 ], -- cgit v1.2.3