diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-11-30 18:33:47 +0100 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-11-30 18:33:47 +0100 |
| commit | 46bacf679bd2b84466673108f691e79b0ac0a12b (patch) | |
| tree | 4719b64b9256265f216db19b23f11b74475d05d9 /lib | |
| parent | 986d3384b69a7df3070795a6433507bcdfa55846 (diff) | |
Allow users to specify the requested number of via stops
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Travel/Status/DE/DBRIS.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Travel/Status/DE/DBRIS.pm b/lib/Travel/Status/DE/DBRIS.pm index a81366e..4644eaf 100644 --- a/lib/Travel/Status/DE/DBRIS.pm +++ b/lib/Travel/Status/DE/DBRIS.pm @@ -68,7 +68,8 @@ sub new { . $station->{eva} . '&ortId=' . $station->{id} - . '&mitVias=true&maxVias=8'; + . '&mitVias=true&maxVias=' + . ( $conf{num_vias} // 5 ); for my $mot (@mots) { $req .= '&verkehrsmittel[]=' . $mot; } |
