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

support sorting on relation fields #15

Closed
jamesdixon opened this issue Jun 16, 2016 · 1 comment
Closed

support sorting on relation fields #15

jamesdixon opened this issue Jun 16, 2016 · 1 comment

Comments

@jamesdixon
Copy link
Contributor

Currently, the plugin only supports sorting on the top level model. For example, for a person that has many pets, you can only sort on fields that belong to person. If for some reason you wanted to sort person by the weight of their pets, you cannot do something like GET /people?sort=pet.weight.

See #14 for a deeper discussion.

@jamesdixon
Copy link
Contributor Author

Closed via #22

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

No branches or pull requests

1 participant