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

Is it possible to specify sort order for related fields? #848

Closed
oowowaee opened this issue Apr 30, 2017 · 4 comments
Closed

Is it possible to specify sort order for related fields? #848

oowowaee opened this issue Apr 30, 2017 · 4 comments

Comments

@oowowaee
Copy link

I see #750 was closed - I have BelongsTo fields that I would like to specify sort order for - is there any way to do it?

@BenMorganIO
Copy link
Collaborator

BenMorganIO commented Apr 30, 2017

Have you tried using sort_by with the foreign key?

@oowowaee
Copy link
Author

oowowaee commented May 1, 2017

Is that possible? I had tried that, as well as the merged PR, and the closed one, but it looked to me like

implies that there is no option. For the moment I just added my own code to check for a passed option.

@oowowaee
Copy link
Author

Seems like this was finally addressed in #939

@nickcharlton
Copy link
Member

I'm going to close this issue as it seems it was fixed in #939. Please open a new issue if this isn't quite the case!

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