Skip to content

Commit

Permalink
Enable show_delays for stationboard
Browse files Browse the repository at this point in the history
Related to #152
  • Loading branch information
fabian committed Nov 7, 2022
1 parent 2aa27b9 commit ab22f39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Transport/Entity/Schedule/StationBoardQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function toFormRequest()
$request->setField('limit', $this->maxJourneys);
$request->setField('show_tracks', '1');
$request->setField('show_subsequent_stops', '1');
$request->setField('show_delays', '1');

if (count($this->transportations) > 0 && $this->transportations[0] != 'all') {
$request->setField('transportation_types', implode(',', Transportations::transformDeprecatedTypes($this->transportations)));
Expand Down

0 comments on commit ab22f39

Please sign in to comment.