summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'lib/DBInfoscreen/Controller')
-rw-r--r--lib/DBInfoscreen/Controller/Stationboard.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm
index 0ea6c37..0d88b40 100644
--- a/lib/DBInfoscreen/Controller/Stationboard.pm
+++ b/lib/DBInfoscreen/Controller/Stationboard.pm
@@ -955,7 +955,8 @@ sub train_details {
my $linetype = 'bahn';
- $self->hafas->get_route_timestamps_p( train_no => $train_no )->then(
+ $self->hafas->get_route_timestamps_p(
+ train_no => "${train_type} $train_no" )->then(
sub {
my ( $route_ts, $route_info, $trainsearch ) = @_;