Skip to content

Commit

Permalink
Remove incorrect date_joined from general courses ordering_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
jfaMan committed Nov 14, 2023
1 parent 9b86ffc commit 2e6b642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion figures/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ class GeneralCourseDataViewSet(CourseOverviewViewSet):
pagination_class = FiguresKiloPagination
filter_backends = (SearchFilter, DjangoFilterBackend, OrderingFilter)
search_fields = ['display_name', 'id']
ordering_fields = ['display_name', 'self_paced', 'date_joined', 'start_date']
ordering_fields = ['display_name', 'self_paced', 'start_date']


class CourseDetailsViewSet(CommonAuthMixin, viewsets.ReadOnlyModelViewSet):
Expand Down

0 comments on commit 2e6b642

Please sign in to comment.