diff options
-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; |