diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-03-27 13:55:51 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-03-27 13:55:51 +0100 |
commit | 23b538a847fbbc4f909369d30384bc2a461d865a (patch) | |
tree | d8947e9b3d2ad1a48707f6f7a59df358b46a29d8 | |
parent | aa9e55128f287b2e264df22997ec282b13f16fbe (diff) |
Fix input / station mapping in stationboard
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 169240d..d67a181 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -367,6 +367,10 @@ sub handle_request { return; } + # pre-fill station / train input form + $self->stash( input => $station ); + $self->param( input => $station ); + if ( $template eq 'json' ) { $backend = 'iris'; $opt{lookahead} = 120; |