Replies: 1 comment 2 replies
-
The DjangoFilterBackend needs to be adjusted for this to be supported. What do you see is the advantage over the Django REST framework OrderingFilter? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
django-filter support ordering as well.
User can reuse ordering from django-filter, rather than
rest_framework.filters.OrderingFilter
https://django-filter.readthedocs.io/en/stable/ref/filters.html#orderingfilter
Sample code: declare
sort
param inFilterSet
:Beta Was this translation helpful? Give feedback.
All reactions