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

Enable OrderingFilter to handle an empty tuple (or list) for the 'ord… #5899

Merged

Conversation

tallosan
Copy link
Contributor

@tallosan tallosan commented Mar 25, 2018

Description

Closes #5861.

The OrderingFilter can now handle an empty tuple (or list) value for the ordering field.

@tomchristie
Copy link
Member

Yup, that looks good. Thanks!

@tomchristie tomchristie merged commit 36119ca into encode:master Mar 26, 2018
@carltongibson carltongibson added this to the 3.8 Release milestone Apr 3, 2018
pchiquet pushed a commit to pchiquet/django-rest-framework that referenced this pull request Nov 17, 2020
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

Successfully merging this pull request may close these issues.

3 participants