Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: Multiple filtering not working on SAPUI5

$
0
0

Hi Ramesh Shrestha,

Thank you for your reply.


I did what you suggested, but it still didn't work. It creates the following request:

http://[host]:8080/com.test.products/ProductSet?$skip=0&$top=100&$orderby=IdProduct asc&$filter=substringof('M',IdProduct) and substringof('M',Description)&$inlinecount=allpages

And ends in the same error. And yes, the "M" character is present in both fields of a few records.

 

 

But when I use only one of them they generate the following requests:

For idProduct:

http://[host]:8080/com.test.products/ProductSet?$skip=0&$top=100&$orderby=IdProduct asc&$filter=substringof('M',IdProduct)&$inlinecount=allpages

For description:

http://[host]:8080/com.test.products/ProductSet?$skip=0&$top=100&$orderby=description asc&$filter=substringof('M',description)&$inlinecount=allpages

And both work and return the matched records.


Viewing all articles
Browse latest Browse all 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>