0

I'm using OData Filter Client V2 to filter different product by passing keyword and different filter for example based on 'origin' or 'size', want to achieve like this

$format=json&$top=50&$filter=substringof('COFFE', searchKey) and (origin eq 'BRA' or origin eq 'COL')

According to this light OData docs we can use in() so looks like this:

$filter=substringof('COFFE', searchKey) and origin in ('BRA', 'COL')

The first one with 'OR()' works, but the second with 'IN()' unfortunately is not working, any idea?

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
Killian Pierce
  • 121
  • 3
  • 12

0 Answers0