Build filter
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Build filter
Hi,
I use "aimeos/aimeos-laravel": "~2020.07"
I try to build filter.
I get information from official docs. This is url: https://aimeos.org/docs/Developers/Admi ... _filtering
This is my url:
http://localhost/jsonapi/product?filter[&&][<][product.status]=0&filter[&&][=~][product.label]=demo
But url always returns the whole list of products no matter how I change the filter settings.
Thanks
I use "aimeos/aimeos-laravel": "~2020.07"
I try to build filter.
I get information from official docs. This is url: https://aimeos.org/docs/Developers/Admi ... _filtering
This is my url:
http://localhost/jsonapi/product?filter[&&][<][product.status]=0&filter[&&][=~][product.label]=demo
But url always returns the whole list of products no matter how I change the filter settings.
Thanks
Re: Build filter
There is a [] pair missing in your URL (also in the docs, which is fixed now):
Please keep in mind that the special chars must be escaped (esp. "=" in "=~").
Code: Select all
http://localhost/jsonapi/product?filter[&&][][<][product.status]=0&filter[&&][][=~][product.label]=demo
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
