Skip to content

Sort by translation.name prduces 500 with v2 API #12594

Closed
@dantleech

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 

Metadata

Assignees

No one assigned

    Labels

    APIAPIs related issues and PRs.BugConfirmed bugs or bugfixes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions