From 63fd4b8e66636db2f723de2301909697233c3d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20K=C3=B6hler?= Date: Wed, 13 Jul 2022 14:41:04 +0200 Subject: [PATCH] fixed filter $ & --- .../main/java/org/odata4j/consumer/ConsumerCountRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odata4j-core/src/main/java/org/odata4j/consumer/ConsumerCountRequest.java b/odata4j-core/src/main/java/org/odata4j/consumer/ConsumerCountRequest.java index 0f0377fe..74323098 100644 --- a/odata4j-core/src/main/java/org/odata4j/consumer/ConsumerCountRequest.java +++ b/odata4j-core/src/main/java/org/odata4j/consumer/ConsumerCountRequest.java @@ -49,7 +49,7 @@ public int execute() throws ODataProducerException { } if(filter != null) { - uri = uri + "?&filter=" + filter; + uri = uri + "?$filter=" + filter; } ODataClientRequest request = ODataClientRequest.get(uri);