mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-15 09:00:36 +00:00
VRS: Fix product filter when querying trips.
This commit is contained in:
parent
dee663ea54
commit
0f77095d65
1 changed files with 3 additions and 5 deletions
|
@ -697,11 +697,9 @@ public class VrsProvider extends AbstractNetworkProvider {
|
|||
}
|
||||
url.addQueryParameter(dep ? "d" : "a", formatDate(date));
|
||||
url.addQueryParameter("s", "t");
|
||||
url.addQueryParameter("p", generateProducts(products));
|
||||
url.addQueryParameter("o", "v");
|
||||
if (EXACT_POINTS) {
|
||||
url.addQueryParameter("p", "");
|
||||
}
|
||||
if (!products.equals(Product.ALL))
|
||||
url.addQueryParameter("p", generateProducts(products));
|
||||
url.addQueryParameter("o", "v" + (EXACT_POINTS ? "p" : ""));
|
||||
|
||||
final CharSequence page = httpClient.get(url.build());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue