diff --git a/babybuddy/settings/base.py b/babybuddy/settings/base.py index 2a25c424..4c681db5 100644 --- a/babybuddy/settings/base.py +++ b/babybuddy/settings/base.py @@ -310,6 +310,7 @@ REST_FRAMEWORK = { ], "DEFAULT_FILTER_BACKENDS": [ "django_filters.rest_framework.DjangoFilterBackend", + "rest_framework.filters.OrderingFilter", ], "DEFAULT_METADATA_CLASS": "api.metadata.APIMetadata", "DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination",