diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-28 14:55:51 +0200 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-09-28 14:55:51 +0200 |
commit | e691bc75740114a4c39f5250e104f276bae99926 (patch) | |
tree | 7b3acc142583f04158e06aa9340c2e0c839364e2 /bin | |
parent | 15646148c4527f003c40b2936b38030dbe5093cc (diff) |
journey id: use origin stop ID if available
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/efa-m | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -426,7 +426,9 @@ sub show_results { if ($show_jid) { $output_line[2] .= sprintf( ' %s@%d(%s)%d', $d->stateless =~ s{ }{}gr, - $d->stop_id, $d->sched_datetime->strftime('%Y%m%d'), $d->key ); + scalar $d->route_pre ? ( $d->route_pre )[0]->id : $d->stop_id, + $d->sched_datetime->strftime('%Y%m%d'), + $d->key ); } if ( $edata{route} ) { |