Skip to content
This repository has been archived by the owner on Sep 18, 2019. It is now read-only.

Unable to filter items #60

Open
AlessioGiacobbe opened this issue Jul 2, 2017 · 1 comment
Open

Unable to filter items #60

AlessioGiacobbe opened this issue Jul 2, 2017 · 1 comment

Comments

@AlessioGiacobbe
Copy link

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
Copy link
Contributor

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...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants