moltin / php-sdk

Community built SDK for using Moltin with PHP
MIT License
47 stars 19 forks source link

Unable to filter items #60

Open AlessioGiacobbe opened 7 years ago

AlessioGiacobbe commented 7 years ago

Hi! I'm having some problems trying to filter products on my moltin-based website. as told in the documentation i use : $result = $moltin->products->filter([ 'has' => ['name' => $query] ])->all()->data(); to get all products that contains $query, but i get an empty result. Is it a bug?

andrew-waters commented 7 years ago

Hi @AlessioGiacobbe - this is an issue with the API rather than the SDK. I'll keep this open so I can notify you when it's resolved...