mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-09 19:38:48 +00:00
try to show more departures
git-svn-id: https://public-transport-enabler.googlecode.com/svn/trunk@116 0924bc21-9374-b0fa-ee44-9ff1593b38f0
This commit is contained in:
parent
53d0d688fe
commit
92644b5475
1 changed files with 1 additions and 2 deletions
|
@ -493,8 +493,7 @@ 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);
|
||||
if (maxDepartures != 0)
|
||||
uri.append("&maxJourneys=").append(maxDepartures);
|
||||
uri.append("&maxJourneys=").append(maxDepartures != 0 ? maxDepartures : 50);
|
||||
return uri.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue