kontent-ai / delivery-sdk-php

Kontent.ai Delivery SDK for PHP
https://kontent.ai
MIT License
46 stars 15 forks source link

Filter query doesn't work for PHP #116

Closed Shyam0307 closed 1 year ago

Shyam0307 commented 2 years ago

$items = $this->client->getItems((new QueryParams()) ->in('system.type', 'article','project'));

Filter query for multiple system type is giving only an first item response .

Screenshot_2

Simply007 commented 2 years ago

Hello @Shyam0307,

thanks for submitting the issue.

Could you verify that all of the items you expect are already published (assuming you are using the client pointing to published content)?

Could you provide the project ID with the items, so that we can check whether the issue is routing from SDK, or from the API itself? Or could you provide the result of the GET request to URL: https://deliver.kontent.ai/<PROJECT-ID>/items?system.type[in]=article,project so that it is possible to compose the test?

Simply007 commented 1 year ago

Hi!

This issue has gone quiet. 👻 It’s been a while since the last update here.

If we missed anything on this issue or if you want to keep it open, please reply here.

Thanks for being a part of the Kontent.ai community!