From ab22f3935fe5d21f0749f50dff5fa2a0641d07f0 Mon Sep 17 00:00:00 2001 From: Fabian Vogler Date: Mon, 7 Nov 2022 18:33:54 +0100 Subject: [PATCH] Enable show_delays for stationboard Related to #152 --- lib/Transport/Entity/Schedule/StationBoardQuery.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transport/Entity/Schedule/StationBoardQuery.php b/lib/Transport/Entity/Schedule/StationBoardQuery.php index aede888..aa46915 100644 --- a/lib/Transport/Entity/Schedule/StationBoardQuery.php +++ b/lib/Transport/Entity/Schedule/StationBoardQuery.php @@ -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)));