diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-03 18:01:10 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-07-03 18:01:10 +0200 |
commit | 8896bb2b405eee48df7f9e58c231d0680d6d05f1 (patch) | |
tree | 715e16016e17309c972605ee5c3fef8efbe681fa /lib/Travelynx.pm | |
parent | fabdbacceb8c6139b7f1002f7d37f039d7614d84 (diff) |
Journey-based checkins: store platforms with route; set arrival platform from it2.15.5
Closes #269
Diffstat (limited to 'lib/Travelynx.pm')
-rwxr-xr-x | lib/Travelynx.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index c8c96b8..78642ff 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -1615,6 +1615,13 @@ sub startup { rt_arrival => ( $stop->[2]{rt_arr} || $stop->[2]{sched_arr} ) ); + if ($stop->[2]{platform}) { + $self->in_transit->set_arrival_platform( + uid => $uid, + db => $db, + arrival_platform => $stop->[2]{platform} + ); + } if ( $now > ( $stop->[2]{rt_arr} || $stop->[2]{sched_arr} ) ) { |