Unverified Commit ab77296f authored by Kenny's avatar Kenny
Browse files

Use MOTIS tripShortName for train_no

Depends on trip_short_name being added to Travel::Status::MOTIS
parent 8ffe7856
Loading
Loading
Loading
Loading
+1 −1
Changes for lib/Travelynx/Model/InTransit.pm: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ sub add {
				checkin_time       => DateTime->now( time_zone => 'Europe/Berlin' ),
				dep_platform       => $stopover->track,
				train_type         => $journey->mode,
				train_no     => q{},
				train_no           => $journey->trip_short_name // q{},
				train_id           => $journey->id,
				train_line         => $journey->display_name,
				sched_departure    => $stopover->scheduled_departure,