Sort by translation.name
prduces 500 with v2 API #12594
Closed
Description
Sylius version affected: 1.9.3
Description
curl -X GET "https://demo.sylius.com/api/v2/shop/products?order%5Btranslation.name%5D=asc&page=1&itemsPerPage=30" -H "accept: application/ld+json"
returns 500 Internal Server Error
which is:
[Semantical Error] line 0, col 211 near 'translation WHERE': Error: 'translation' is already defined." at /app/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php line 63