mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-18 00:09:55 +00:00
AbstractEfaProvider: Include mot 14, 15 and 16 if high-speed train is requested in appendTripRequestParameters().
This commit is contained in:
parent
44832a6efe
commit
a1c8b1caa1
6 changed files with 4 additions and 19 deletions
|
@ -2023,6 +2023,10 @@ public abstract class AbstractEfaProvider extends AbstractNetworkProvider {
|
|||
hasI = true;
|
||||
}
|
||||
|
||||
if (p == Product.HIGH_SPEED_TRAIN)
|
||||
url.addEncodedQueryParameter("inclMOT_14", "on").addEncodedQueryParameter("inclMOT_15", "on")
|
||||
.addEncodedQueryParameter("inclMOT_16", "on");
|
||||
|
||||
if (p == Product.REGIONAL_TRAIN)
|
||||
url.addEncodedQueryParameter("inclMOT_13", "on");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue