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

order_by on related model filters out rows with NULL relationship #439

Closed
madvas opened this issue May 13, 2015 · 1 comment
Closed

order_by on related model filters out rows with NULL relationship #439

madvas opened this issue May 13, 2015 · 1 comment
Labels

Comments

@madvas
Copy link

madvas commented May 13, 2015

When I make order_by as <relationname>__<fieldname> , it doesn't send back rows, which has NULL relationship to <relationname> table. Is this desired behaviour?

I think it should return those rows at the beginning or end of result list.

@jfinkels jfinkels added the bug label Feb 4, 2016
@jfinkels
Copy link
Owner

jfinkels commented Feb 4, 2016

This seems to be fixed in the development version, I just added a test for it in 02e0864.

@jfinkels jfinkels closed this as completed Feb 4, 2016
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

2 participants