d34dman / drupal-jsonapi-params

A package to manage json-api params
ISC License
59 stars 8 forks source link

TypeError: Value cannot be an array for the operator "IN" #12

Closed BeardedBry closed 4 years ago

BeardedBry commented 4 years ago

I'm getting this error. TypeError: Value cannot be an array for the operator "IN"

Here is my parameter: apiParams.addFilter('field_businesses.drupal_internal__tid',['293','2250'],'IN');

Thanks for any help.

d34dman commented 4 years ago

DefaultValues test ts — drupal-jsonapi-params 2020-09-21 10-09-22

@BeardedBry thanks for the bug report, just wrote a test to confirm the error. So fix shouldn't be far away.