Commit 222c1d11 by Michał Ociepka

Add order_by to the AutoFilterSet

`AutoFilterSet` should contains `order_by` set to all by default.
parent f5c34926
......@@ -53,6 +53,7 @@ class DjangoFilterBackend(BaseFilterBackend):
class Meta:
model = queryset.model
fields = filter_fields
order_by = True
return AutoFilterSet
return None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment