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

Return a numerically indexed array from cget actions controllers #1029

Closed
jrjohnson opened this issue Sep 24, 2015 · 0 comments
Closed

Return a numerically indexed array from cget actions controllers #1029

jrjohnson opened this issue Sep 24, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@jrjohnson
Copy link
Member

Currently if the permissions system rejects a users access to an entity the array_filter argument keeps the index. This wreaks havoc with the JSON and with ember-data. Instead we need to call array_values on the final result to ensure it is returned to being a plain numerically indexed array.

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

No branches or pull requests

1 participant