Skip to content
Snippets Groups Projects
Commit e6353d41 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

feat: allow shows to be ordered by last modfication and user

parent 22d3e07d
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ class ShowOrderingFilter(filters.OrderingFilter):
class ShowFilterSet(StaticFilterHelpTextMixin, filters.FilterSet):
order = ShowOrderingFilter(
fields=["name", "slug", "id", "is_active", "is_owner"],
fields=["name", "slug", "id", "is_active", "is_owner", "updated_at", "updated_by"],
help_text="Order shows by the given field(s).",
)
category_ids = IntegerInFilter(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment