Skip to content

Commit

Permalink
Change incorrect field name for ordering EDLY-2824 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Haseeb authored Apr 30, 2021
1 parent 7bfa88b commit 1b8afa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course_discovery/apps/api/v1/views/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class CourseSearchViewSet(BaseHaystackViewSet):


class CourseRunSearchViewSet(BaseHaystackViewSet):
ordering_fields = ('start', 'id', 'title_override')
ordering_fields = ('start', 'id', 'title')
filter_backends = [OrderingFilter]
index_models = (CourseRun,)
detail_serializer_class = serializers.CourseRunSearchModelSerializer
Expand Down

0 comments on commit 1b8afa8

Please sign in to comment.