diff options
Diffstat (limited to 'lib/DBInfoscreen/Controller/Stationboard.pm')
-rw-r--r-- | lib/DBInfoscreen/Controller/Stationboard.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index b8bce2a..4c27ef4 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -242,8 +242,9 @@ sub result_has_via { my ( $result, $via ) = @_; my @route - = $result->can('route_post') ? $result->route_post : map { $_->loc->name } - $result->route; + = $result->can('route_post') + ? ( $result->route_post, $result->sched_route_post ) + : map { $_->loc->name } $result->route; my $eq_result = List::MoreUtils::any { lc eq lc($via) } @route; |