summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Traveling.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-10-01 07:11:58 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-10-01 07:11:58 +0200
commitaaeb81a5d230ca556fa950d0f9be0b98e85effcf (patch)
treedf292cdded847b4a7fac78e91b9050fd13c5fcbe /lib/Travelynx/Controller/Traveling.pm
parent2638dd36fba1fc3389138906a7436aba311dbe54 (diff)
store related stations; respect them when looking up connections
Diffstat (limited to 'lib/Travelynx/Controller/Traveling.pm')
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm4
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 => (