You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by "Tiwari, Rajnish" <ra...@sap.com> on 2017/11/14 07:58:09 UTC
filter issue with Olingo 2.0.7
Hello Colleagues,
I am applying filter on my non-primary field like
?filter=entityId eq '0DE82517-5713'&entityType eq 'workflow'
Using Olingo 2.0.7 but it is not working properly, it returns all the value, Even I tried with 2.0.9 also but the issue still persists.
Any clues on this issue, would be of great help :)
Does filter work on non-primary field ?
Do I need to modify the filter criteria ?
Thanks in Advance,
Rajnish
RE: filter issue with Olingo 2.0.7
Posted by "Birenheide, Richard" <ri...@sap.com>.
Hi,
try with $filter. Unknown parameters (like "filter") are dropped silently if you don't handle them in custom code. As well, "&" is not a valid part of an OData filter statement.
Lookup this: http://www.odata.org/documentation/odata-version-2-0/uri-conventions/
Kind Regards
Richard
From: Tiwari, Rajnish [mailto:rajnish.tiwari01@sap.com]
Sent: Dienstag, 14. November 2017 08:58
To: user@olingo.apache.org; dev@olingo.apache.org
Subject: filter issue with Olingo 2.0.7
Hello Colleagues,
I am applying filter on my non-primary field like
?filter=entityId eq '0DE82517-5713'&entityType eq 'workflow'
Using Olingo 2.0.7 but it is not working properly, it returns all the value, Even I tried with 2.0.9 also but the issue still persists.
Any clues on this issue, would be of great help :)
Does filter work on non-primary field ?
Do I need to modify the filter criteria ?
Thanks in Advance,
Rajnish
RE: filter issue with Olingo 2.0.7
Posted by "Birenheide, Richard" <ri...@sap.com>.
Hi,
try with $filter. Unknown parameters (like "filter") are dropped silently if you don't handle them in custom code. As well, "&" is not a valid part of an OData filter statement.
Lookup this: http://www.odata.org/documentation/odata-version-2-0/uri-conventions/
Kind Regards
Richard
From: Tiwari, Rajnish [mailto:rajnish.tiwari01@sap.com]
Sent: Dienstag, 14. November 2017 08:58
To: user@olingo.apache.org; dev@olingo.apache.org
Subject: filter issue with Olingo 2.0.7
Hello Colleagues,
I am applying filter on my non-primary field like
?filter=entityId eq '0DE82517-5713'&entityType eq 'workflow'
Using Olingo 2.0.7 but it is not working properly, it returns all the value, Even I tried with 2.0.9 also but the issue still persists.
Any clues on this issue, would be of great help :)
Does filter work on non-primary field ?
Do I need to modify the filter criteria ?
Thanks in Advance,
Rajnish