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);