Skip to content

Commit

Permalink
Updated model attribute for course run index image url field (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Haseeb authored May 20, 2021
1 parent cf87e69 commit 72920fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course_discovery/apps/course_metadata/search_indexes.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class CourseRunIndex(BaseCourseIndex, indexes.Indexable):
slug = indexes.CharField(model_attr='slug', null=True)
seat_types = indexes.MultiValueField(model_attr='seat_types__slug', null=True, faceted=True)
type = indexes.CharField(model_attr='type_legacy', null=True, faceted=True)
image_url = indexes.CharField(model_attr='image_url', null=True)
image_url = indexes.CharField(model_attr='card_image_url', null=True)
partner = indexes.CharField(null=True, faceted=True)
program_types = indexes.MultiValueField()
published = indexes.BooleanField(null=False, faceted=True)
Expand Down

0 comments on commit 72920fa

Please sign in to comment.