Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting services and scenarios by title dose not work #23

Open
baddlan opened this issue Jul 18, 2017 · 3 comments
Open

Sorting services and scenarios by title dose not work #23

baddlan opened this issue Jul 18, 2017 · 3 comments
Assignees

Comments

@baddlan
Copy link

baddlan commented Jul 18, 2017

The Postman request uses this format:
/scenarios?order[title]=DESC

which throws a "Notice: Undefined offset: 1" error.

@marioprudhomme
Copy link
Member

marioprudhomme commented Jul 19, 2017

The error occurs on this line: https://github.com/api-platform/core/blob/master/src/Bridge/Doctrine/Orm/Util/QueryChecker.php#L145

For some reason, the $relationship variable only contains an entity name with no period. \AppBundle\Entity\ServiceTranslation

Will need to check with api platform devs

@StephenOTT
Copy link
Member

@mario-digitalstate APIP 2.1 has been released.

@StephenOTT
Copy link
Member

StephenOTT commented Sep 11, 2017

related APIP Update to 2.1 #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants