Skip to content

Commit

Permalink
Revert "fix: search/all breakage" (#4384)
Browse files Browse the repository at this point in the history
This reverts commit 7c1f106.
  • Loading branch information
zawan-ila committed Jul 9, 2024
1 parent aefbff2 commit 98b93ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions course_discovery/apps/api/tests/test_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2554,6 +2554,9 @@ def get_expected_data(cls, course_run, course_skill, request):
'first_enrollable_paid_seat_sku': course_run.first_enrollable_paid_seat_sku(),
'first_enrollable_paid_seat_price': course_run.first_enrollable_paid_seat_price,
'is_enrollable': course_run.is_enrollable,
'restriction_type': (
course_run.restricted_run.restriction_type if hasattr(course_run, 'restricted_run') else None
)
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class Meta:
'transcript_languages',
'type',
'weeks_to_complete',
'restriction_type',
)


Expand Down

0 comments on commit 98b93ed

Please sign in to comment.