Unverified Commit e691bc75 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

journey id: use origin stop ID if available

parent 15646148
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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} ) {