From 77ac1e6a8b304a0af2d46c890c270a322dfdf34d Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Sun, 10 Sep 2023 16:22:41 +0200 Subject: do not pass HAFAS flag to geostop; it's not used there anyways --- lib/DBInfoscreen/Controller/Stationboard.pm | 5 ++--- templates/layouts/app.html.ep | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 3cdf5b8..8cfdbfe 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1785,9 +1785,8 @@ sub handle_result { sub stations_by_coordinates { my $self = shift; - my $lon = $self->param('lon'); - my $lat = $self->param('lat'); - my $hafas = $self->param('hafas'); + my $lon = $self->param('lon'); + my $lat = $self->param('lat'); if ( not $lon or not $lat ) { $self->render( json => { error => 'Invalid lon/lat received' } ); diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 9b5e0b6..bc12c5e 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -146,7 +146,7 @@ Bitte eine Station aus der Liste auswählen % if (stash('input')) { % }
-- cgit v1.2.3