diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-12-21 23:36:57 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-12-21 23:36:57 +0100 |
commit | 55b016b62bc21c2f3b0a1ecde385b10cc474c671 (patch) | |
tree | 73ebaa26765d44f8b98eb58e01bd9789b1698cbf /lib/DBInfoscreen | |
parent | 843ee82289199ee77999ffcacdce72081843a9d4 (diff) |
fix parameter passing (do not forward train/ajax to station requests)3.8.5
Diffstat (limited to 'lib/DBInfoscreen')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 0367655..b951ed8 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -678,7 +678,7 @@ sub render_train { dt_now => DateTime->now( time_zone => 'Europe/Berlin' ), station_name => $station_name, nav_link => - $self->url_with( 'station', station => $station_name ), + $self->url_for( 'station', station => $station_name)->query({detailed => $self->param('detailed')}), ); } )->wait; @@ -1237,7 +1237,7 @@ sub handle_result { or $template eq 'multi' ), force_mobile => ( $template eq 'app' ), - nav_link => $self->url_with( 'station', station => $station_name ), + nav_link => $self->url_for( 'station', station => $station_name)->query({detailed => $self->param('detailed')}), ); } return; |