diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-11-16 07:21:14 +0100 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-11-16 07:21:14 +0100 |
| commit | 62fe04ae998bcb81781a42d91355ffd73f3a878b (patch) | |
| tree | 6a8f38f69af64a17ca8d0a3464bc806a021f2876 /lib/Travelynx/Model/InTransit.pm | |
| parent | 0507bbed2733197edc6ac41df828f87bcc6fba68 (diff) | |
DBRIS: store operators
Requires DBRIS ≥ 0.17, which just hit CPAN
Diffstat (limited to 'lib/Travelynx/Model/InTransit.pm')
| -rw-r--r-- | lib/Travelynx/Model/InTransit.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Travelynx/Model/InTransit.pm b/lib/Travelynx/Model/InTransit.pm index d0a7c2b..dda681d 100644 --- a/lib/Travelynx/Model/InTransit.pm +++ b/lib/Travelynx/Model/InTransit.pm @@ -325,6 +325,9 @@ sub add { ); } } + if ( scalar $journey->operators ) { + $persistent_data->{operators} = [ $journey->operators ]; + } $db->insert( 'in_transit', { |
