mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-17 15:39:50 +00:00
fixed not showing 'all' departures in station details
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@71 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
03f042ad90
commit
48dff200a1
4 changed files with 7 additions and 4 deletions
|
@ -446,7 +446,8 @@ public final class VbbProvider implements NetworkProvider
|
|||
final StringBuilder uri = new StringBuilder();
|
||||
uri.append(live ? DEPARTURE_URL_LIVE : DEPARTURE_URL_PLAN);
|
||||
uri.append("input=").append(stationId);
|
||||
uri.append("&maxJourneys=").append(maxDepartures != 0 ? maxDepartures : 12);
|
||||
if (maxDepartures != 0)
|
||||
uri.append("&maxJourneys=").append(maxDepartures);
|
||||
return uri.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue