From c4ae9f3d5ce97bad153ba6862b42d26c2c31a419 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 29 Jan 2023 18:03:46 +0100 Subject: Stationboard: is_partially_cancelled does not refer to current station --- lib/DBInfoscreen/Controller/Stationboard.pm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lib/DBInfoscreen/Controller/Stationboard.pm b/lib/DBInfoscreen/Controller/Stationboard.pm index 1ec39f3..1e6a4fc 100644 --- a/lib/DBInfoscreen/Controller/Stationboard.pm +++ b/lib/DBInfoscreen/Controller/Stationboard.pm @@ -1546,15 +1546,14 @@ sub handle_result { platform => $result->platform, scheduled_platform => $result->sched_platform, info => $info, - is_cancelled => $result->is_cancelled - || $result->is_partially_cancelled, - linetype => $linetype, - station => $result->station, - moreinfo => $moreinfo, - delay => $delay, - replaced_by => [], - replacement_for => [], - route_pre => [], + is_cancelled => $result->is_cancelled, + linetype => $linetype, + station => $result->station, + moreinfo => $moreinfo, + delay => $delay, + replaced_by => [], + replacement_for => [], + route_pre => [], route_post => [ map { $_->{name} } $result->route ], wr_link => $result->sched_datetime ? $result->sched_datetime->strftime('%Y%m%d%H%M') -- cgit v1.2.3