JSONapi sort product

Help for integrating the Laravel package
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!
Indra
Posts: 5
Joined: 30 May 2019, 07:10

JSONapi sort product

Post by Indra » 30 May 2019, 08:36

Hi, I ran into problem when I try to sort with 2 criteria as documentation said using

sort: '-product.label,product.id'

if 1 criteria, its succesfully return sorted data, but 2 criteria will print error

"title": "Invalid name \"product.label,-product.id\""

Any idea?

Thanks

User avatar
aimeos
Administrator
Posts: 7866
Joined: 01 Jan 1970, 00:00

Re: JSONapi sort product

Post by aimeos » 02 Jun 2019, 15:53

Thanks for reporting, this is a bug due to the rewritten frontend controller in version 2019.04. It's now fixed in dev-master and 2019.04.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply