diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-10-01 07:11:58 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-10-01 07:11:58 +0200 |
commit | aaeb81a5d230ca556fa950d0f9be0b98e85effcf (patch) | |
tree | df292cdded847b4a7fac78e91b9050fd13c5fcbe /lib/Travelynx/Controller/Traveling.pm | |
parent | 2638dd36fba1fc3389138906a7436aba311dbe54 (diff) |
store related stations; respect them when looking up connections
Diffstat (limited to 'lib/Travelynx/Controller/Traveling.pm')
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index b83eea5..12bfd0f 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -960,6 +960,10 @@ sub station { ( $_->datetime // $_->sched_datetime )->epoch < $now + 30 * 60 } $status->results; + $self->stations->add_meta( + eva => $status->station->{eva}, + meta => $status->station->{evas} + ); $status = { station_eva => $status->station->{eva}, station_name => ( |